Class ExecutionStrategyNodeImpl
java.lang.Object
net.officefloor.compile.impl.structure.ExecutionStrategyNodeImpl
- All Implemented Interfaces:
ExecutionStrategyNode,LinkExecutionStrategyNode,Node,OfficeFloorExecutionStrategy
ExecutionStrategyNode implementation.- Author:
- Daniel Sagenschneider
-
Field Summary
Fields inherited from interface net.officefloor.compile.internal.structure.ExecutionStrategyNode
TYPE -
Constructor Summary
ConstructorsConstructorDescriptionExecutionStrategyNodeImpl(String executionStrategyName, ExecutiveNode executive, NodeContext context) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionNode[]Obtains the childNodeinstances.Obtains theLinkExecutionStrategyNodelinked to thisLinkExecutionStrategyNode.Obtains the location of theNode.Obtains the name of theNode.Obtains theNodetype.Obtains the name of thisOfficeFloorExecutionStrategy.voidInitialises theExecutionStrategyNode.booleanIndicates if theNodehas been initialised.booleanLinks the inputLinkExecutionStrategyNodeto thisLinkExecutionStrategyNode.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.officefloor.compile.internal.structure.Node
getQualifiedName, getQualifiedName
-
Constructor Details
-
ExecutionStrategyNodeImpl
public ExecutionStrategyNodeImpl(String executionStrategyName, ExecutiveNode executive, NodeContext context) Instantiate.- Parameters:
executionStrategyName-ExecutionStrategyname.executive- ParentExecutiveNode.context-NodeContext.
-
-
Method Details
-
getNodeName
Description copied from interface:NodeObtains the name of theNode.- Specified by:
getNodeNamein interfaceNode- Returns:
- Name of the
Node.
-
getNodeType
Description copied from interface:NodeObtains theNodetype.- Specified by:
getNodeTypein interfaceNode- Returns:
Nodetype.
-
getLocation
Description copied from interface:NodeObtains the location of theNode.- Specified by:
getLocationin interfaceNode- Returns:
- Location of the
Node. May benullifNodedoes not support a location.
-
getParentNode
Description copied from interface:Node- Specified by:
getParentNodein interfaceNode- Returns:
Nodecontaining thisNode.
-
isInitialised
public boolean isInitialised()Description copied from interface:NodeIndicates if theNodehas been initialised.Nodeinstances should only be initialised once. Initialising theNodetwice is an issue.- Specified by:
isInitialisedin interfaceNode- Returns:
trueif initialised.
-
getChildNodes
Description copied from interface:NodeObtains the childNodeinstances.- Specified by:
getChildNodesin interfaceNode- Returns:
- Child
Nodeinstances.
-
getOfficeFloorExecutionStratgyName
Description copied from interface:OfficeFloorExecutionStrategyObtains the name of thisOfficeFloorExecutionStrategy.- Specified by:
getOfficeFloorExecutionStratgyNamein interfaceOfficeFloorExecutionStrategy- Returns:
- Name of this
OfficeFloorExecutionStrategy.
-
initialise
public void initialise()Description copied from interface:ExecutionStrategyNodeInitialises theExecutionStrategyNode.- Specified by:
initialisein interfaceExecutionStrategyNode
-
linkExecutionStrategyNode
Description copied from interface:LinkExecutionStrategyNodeLinks the inputLinkExecutionStrategyNodeto thisLinkExecutionStrategyNode.- Specified by:
linkExecutionStrategyNodein interfaceLinkExecutionStrategyNode- Parameters:
node-LinkExecutionStrategyNodeto link to thisLinkExecutionStrategyNode.- Returns:
trueif linked.
-
getLinkedExecutionStrategyNode
Description copied from interface:LinkExecutionStrategyNodeObtains theLinkExecutionStrategyNodelinked to thisLinkExecutionStrategyNode.- Specified by:
getLinkedExecutionStrategyNodein interfaceLinkExecutionStrategyNode- Returns:
LinkExecutionStrategyNodelinked to thisLinkExecutionStrategyNode.
-