Class BuildRoot.Changes

java.lang.Object
io.helidon.build.devloop.BuildRoot.Changes
All Implemented Interfaces:
FileChangeAware
Enclosing class:
BuildRoot

public static class BuildRoot.Changes extends Object implements FileChangeAware
Directory changes.
  • Method Details

    • root

      public BuildRoot root()
      Returns the build root containing these changes.
      Returns:
      The root.
    • isEmpty

      public boolean isEmpty()
      Returns true if no changes occurred.
      Returns:
      true if no changes occurred.
    • size

      public int size()
      Returns the number of changes.
      Returns:
      The number.
    • added

      public Set<Path> added()
      Returns the added files.
      Returns:
      The files.
    • modified

      public Set<Path> modified()
      Returns the modified files.
      Returns:
      The files.
    • removed

      public Set<Path> removed()
      Returns the removed files.
      Returns:
      The files.
    • addedOrModified

      public Set<Path> addedOrModified()
      Returns the added or modified files.
      Returns:
      The files.
    • changedTime

      public Optional<FileTime> changedTime()
      Description copied from interface: FileChangeAware
      Returns the most recent change time, if any.
      Specified by:
      changedTime in interface FileChangeAware
      Returns:
      The time if changed.