Package io.helidon.build.dev
Class BuildRoot.Changes
- java.lang.Object
-
- io.helidon.build.dev.BuildRoot.Changes
-
- All Implemented Interfaces:
FileChangeAware
- Enclosing class:
- BuildRoot
public static class BuildRoot.Changes extends Object implements FileChangeAware
Directory changes.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Path>added()Returns the added files.Set<Path>addedOrModified()Returns the added or modified files.Optional<FileTime>changedTime()Returns the most recent change time, if any.booleanisEmpty()Returnstrueif no changes occurred.Set<Path>modified()Returns the modified files.Set<Path>removed()Returns the removed files.BuildRootroot()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, wait
-
Methods inherited from interface io.helidon.build.dev.FileChangeAware
hasChanged
-
-
-
-
Method Detail
-
root
public BuildRoot 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.
-
addedOrModified
public Set<Path> addedOrModified()
Returns the added or modified files.- Returns:
- The files.
-
changedTime
public Optional<FileTime> changedTime()
Description copied from interface:FileChangeAwareReturns the most recent change time, if any.- Specified by:
changedTimein interfaceFileChangeAware- Returns:
- The time if changed.
-
-