Interface Changes.Change

All Known Subinterfaces:
Changes.Change.SourceChange
All Known Implementing Classes:
Changes.Change.JavaSourceChange, Changes.Change.JavaTestSourceChange, Changes.Change.OtherFileChange
Enclosing class:
Changes

static sealed interface Changes.Change permits Changes.Change.SourceChange, Changes.Change.OtherFileChange
A change to the local project.
Author:
Lukas Dohmen, David Bilge, Oliver Drotbohm
  • Method Details

    • hasOrigin

      boolean hasOrigin(String nameOrPath)
      Returns whether the change has the given origin.
      Parameters:
      nameOrPath - must not be null or empty.
    • of

      static Changes.Change of(ModifiedFile file)
      creates a new
      Parameters:
      file -
      Returns: