Package fr.lteconsulting.pomexplorer
Class ProjectWatcher
java.lang.Object
fr.lteconsulting.pomexplorer.ProjectWatcher
public class ProjectWatcher
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ProjectWatcher(java.nio.file.Path projectPath)Create a ProjectWatcher -
Method Summary
Modifier and Type Method Description booleanhasChanges()voidregister()booleanwaitChange()
-
Constructor Details
-
ProjectWatcher
public ProjectWatcher(java.nio.file.Path projectPath)Create a ProjectWatcher- Parameters:
projectPath- This is the path of the directory containing the pom.xml file
-
-
Method Details
-
register
public void register() throws java.io.IOException- Throws:
java.io.IOException
-
hasChanges
public boolean hasChanges() -
waitChange
public boolean waitChange()
-