Class ConfigWatcher
java.lang.Object
com.redhat.devtools.intellij.common.utils.ConfigWatcher
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionConfigWatcher(ConfigWatcher.Listener listener) protectedConfigWatcher(List<Path> configs, ConfigWatcher.Listener listener, HighSensitivityRegistrar registrar) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected @NotNull io.fabric8.kubernetes.client.Configprotected WatchServiceprotected booleanisFileInDirectory(Path path) voidrun()
-
Field Details
-
listener
-
-
Constructor Details
-
ConfigWatcher
-
ConfigWatcher
protected ConfigWatcher(List<Path> configs, ConfigWatcher.Listener listener, HighSensitivityRegistrar registrar)
-
-
Method Details
-
run
public void run() -
close
- Throws:
IOException
-
createWatchService
- Throws:
IOException
-
isFileInDirectory
-
createConfig
@NotNull protected @NotNull io.fabric8.kubernetes.client.Config createConfig()
-