| Modifier and Type | Class and Description |
|---|---|
static class |
WatchAndRestartMachine.RuleMatch |
static class |
WatchAndRestartMachine.RuleType |
| Constructor and Description |
|---|
WatchAndRestartMachine(Path directoryToRecursivelyWatch,
Set<String> includes,
Set<String> excludes,
DelayedRestartTrigger restartTrigger) |
WatchAndRestartMachine(Set<Path> directoriesToRecursivelyWatch,
Set<String> includes,
Set<String> excludes,
DelayedRestartTrigger restartTrigger) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkIfWouldBeExcluded(Set<String> patterns,
String string) |
void |
handleNewOrModifiedFile(String newOrMod,
Path path) |
static WatchAndRestartMachine.RuleMatch |
matchRule(Set<String> includes,
Set<String> excludes,
String string) |
void |
run() |
void |
shutdown() |
public WatchAndRestartMachine(Path directoryToRecursivelyWatch, Set<String> includes, Set<String> excludes, DelayedRestartTrigger restartTrigger) throws IOException
IOExceptionpublic WatchAndRestartMachine(Set<Path> directoriesToRecursivelyWatch, Set<String> includes, Set<String> excludes, DelayedRestartTrigger restartTrigger) throws IOException
IOExceptionCopyright © 2016. All rights reserved.