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
-
Method Summary
Modifier and TypeMethodDescriptionList<nz.org.riskscape.pipeline.ast.PipelineDeclaration.Found>
find
(IncrementalBuildState buildState) boolean
static EndOfBranchWith
Convenience 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, wait
Methods 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:
toString
in interfaceChangeLocation
- Overrides:
toString
in classObject
-
isMultiple
public boolean isMultiple()- Specified by:
isMultiple
in interfaceChangeLocation
- Returns:
- true if this change location expects to return more than one
PipelineDeclaration.Found
location.
-
find
public List<nz.org.riskscape.pipeline.ast.PipelineDeclaration.Found> find(IncrementalBuildState buildState) - Specified by:
find
in interfaceChangeLocation
- Returns:
- a list of locations where the change should be made to the given state.
-