Package nz.org.riskscape.wizard.bld.loc
Class EndOfBranchWith
java.lang.Object
nz.org.riskscape.wizard.bld.loc.EndOfBranchWith
- All Implemented Interfaces:
ChangeLocation
Locates the last step in a chain that begins with a particular step.
-
Field Summary
Fields inherited from interface nz.org.riskscape.wizard.bld.loc.ChangeLocation
EMPTY, END, START -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<nz.org.riskscape.pipeline.ast.PipelineDeclaration.Found>find(IncrementalBuildState buildState) booleanstatic EndOfBranchWithConvenience constructor that looks for a branch with a particular step nametoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface nz.org.riskscape.wizard.bld.loc.ChangeLocation
findOne
-
Constructor Details
-
EndOfBranchWith
-
-
Method Details
-
stepNamed
Convenience constructor that looks for a branch with a particular step name
-
toString
- Specified by:
toStringin interfaceChangeLocation- Overrides:
toStringin classObject
-
isMultiple
public boolean isMultiple()- Specified by:
isMultiplein interfaceChangeLocation- Returns:
- true if this change location expects to return more than one
PipelineDeclaration.Foundlocation.
-
find
public List<nz.org.riskscape.pipeline.ast.PipelineDeclaration.Found> find(IncrementalBuildState buildState) - Specified by:
findin interfaceChangeLocation- Returns:
- a list of locations where the change should be made to the given state.
-