Package io.helidon.build.devloop
Class BuildRoot.Changes
java.lang.Object
io.helidon.build.devloop.BuildRoot.Changes
- All Implemented Interfaces:
FileChangeAware
- Enclosing class:
- BuildRoot
Directory changes.
-
Method Summary
Modifier and TypeMethodDescriptionadded()Returns the added files.Returns the added or modified files.Returns the most recent change time, if any.booleanisEmpty()Returnstrueif no changes occurred.modified()Returns the modified files.removed()Returns the removed files.root()Returns the build root containing these changes.intsize()Returns the number of changes.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.build.devloop.FileChangeAware
hasChanged
-
Method Details
-
root
Returns the build root containing these changes.- Returns:
- The root.
-
isEmpty
public boolean isEmpty()Returnstrueif no changes occurred.- Returns:
trueif no changes occurred.
-
size
public int size()Returns the number of changes.- Returns:
- The number.
-
added
Returns the added files.- Returns:
- The files.
-
modified
Returns the modified files.- Returns:
- The files.
-
removed
Returns the removed files.- Returns:
- The files.
-
addedOrModified
Returns the added or modified files.- Returns:
- The files.
-
changedTime
Description copied from interface:FileChangeAwareReturns the most recent change time, if any.- Specified by:
changedTimein interfaceFileChangeAware- Returns:
- The time if changed.
-