Interface Changes.Change.SourceChange
- All Superinterfaces:
Changes.Change
- All Known Implementing Classes:
Changes.Change.JavaSourceChange
,Changes.Change.JavaTestSourceChange
- Enclosing interface:
- Changes.Change
public static sealed interface Changes.Change.SourceChange
extends Changes.Change
permits Changes.Change.JavaSourceChange, Changes.Change.JavaTestSourceChange
A change to a source file.
- Author:
- Oliver Drotbohm
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.modulith.junit.Changes.Change
Changes.Change.JavaSourceChange, Changes.Change.JavaTestSourceChange, Changes.Change.OtherFileChange, Changes.Change.SourceChange
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Returns whether the change has the given origin.
-
Method Details
-
fullyQualifiedClassName
String fullyQualifiedClassName() -
hasOrigin
Description copied from interface:Changes.Change
Returns whether the change has the given origin.- Specified by:
hasOrigin
in interfaceChanges.Change
- Parameters:
nameOrPath
- must not be null or empty.
-