Class BlockEndNode<START extends BlockStartNode>
- java.lang.Object
-
- hudson.model.AbstractModelObject
-
- hudson.model.Actionable
-
- org.jenkinsci.plugins.workflow.graph.FlowNode
-
- org.jenkinsci.plugins.workflow.graph.BlockEndNode<START>
-
- All Implemented Interfaces:
ModelObject
,Saveable
,SearchableModelObject
,SearchItem
,ModelObjectWithContextMenu
- Direct Known Subclasses:
FlowEndNode
,JoinNode
public abstract class BlockEndNode<START extends BlockStartNode> extends FlowNode
End of a block.- See Also:
BlockStartNode
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType
-
-
Constructor Summary
Constructors Constructor Description BlockEndNode(FlowExecution exec, String id, START start, List<FlowNode> parents)
BlockEndNode(FlowExecution exec, String id, START start, FlowNode... parents)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description START
getStartNode()
Returns the matching start node.-
Methods inherited from class org.jenkinsci.plugins.workflow.graph.FlowNode
equals, getAction, getActions, getAllEnclosingIds, getDisplayFunctionName, getDisplayName, getEnclosingBlocks, getEnclosingId, getError, getExecution, getIconColor, getId, getParentIds, getParents, getPersistentAction, getSearchUrl, getTypeDisplayName, getTypeFunctionName, getUrl, hashCode, isActive, isRunning, iterateEnclosingBlocks, readResolve, save, setActions, toString
-
Methods inherited from class hudson.model.Actionable
addAction, addOrReplaceAction, doContextMenu, getAction, getActions, getAllActions, getDynamic, removeAction, removeActions, replaceAction, replaceActions
-
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
-
-
-
-
Constructor Detail
-
BlockEndNode
public BlockEndNode(FlowExecution exec, String id, START start, FlowNode... parents)
-
BlockEndNode
public BlockEndNode(FlowExecution exec, String id, START start, List<FlowNode> parents)
-
-
Method Detail
-
getStartNode
@NonNull public START getStartNode()
Returns the matching start node.- Returns:
- an earlier node matching this block
- Throws:
IllegalStateException
- if the start node could not be reloaded after deserialization
-
-