Interface ManagedFunctionNode
-
- All Superinterfaces:
LinkFlowNode,Node,OfficeSectionFunction,SectionFlowSinkNode,SectionFlowSourceNode,SectionFunction
- All Known Implementing Classes:
ManagedFunctionNodeImpl
public interface ManagedFunctionNode extends LinkFlowNode, SectionFunction, OfficeSectionFunction
SectionFunctionnode.- Author:
- Daniel Sagenschneider
-
-
Method Summary
-
Methods inherited from interface net.officefloor.compile.internal.structure.LinkFlowNode
getLinkedFlowNode, linkFlowNode
-
Methods inherited from interface net.officefloor.compile.internal.structure.Node
getChildNodes, getLocation, getNodeName, getNodeType, getParentNode, getQualifiedName, getQualifiedName, isInitialised
-
Methods inherited from interface net.officefloor.compile.spi.office.OfficeSectionFunction
addGovernance, addPostAdministration, addPreAdministration, getOfficeFunctionName, getResponsibleTeam
-
Methods inherited from interface net.officefloor.compile.spi.section.SectionFunction
getFunctionEscalation, getFunctionFlow, getFunctionObject, getSectionFunctionName
-
-
-
-
Field Detail
-
TYPE
static final java.lang.String TYPE
Nodetype.- See Also:
- Constant Field Values
-
-
Method Detail
-
getQualifiedFunctionName
java.lang.String getQualifiedFunctionName()
Obtains the fully qualified name of thisManagedFunction.- Returns:
- Fully qualified name of this
ManagedFunction.
-
initialise
void initialise(java.lang.String managedFunctionTypeName, FunctionNamespaceNode functionNamespace)Initialises thisManagedFunctionNode.- Parameters:
managedFunctionTypeName-ManagedFunctionTypename.functionNamespace-FunctionNamespaceNodefor theManagedFunctionNode.
-
souceManagedFunction
boolean souceManagedFunction(ManagedFunctionVisitor managedFunctionVisitor, CompileContext compileContext)
Sources theManagedFunction.- Parameters:
managedFunctionVisitor-ManagedFunctionVisitor.compileContext-CompileContext.- Returns:
trueif successfully sourced theManagedFunction.falseif failed to source with issues reported to theCompilerIssues.
-
getAugmentedFunctionObject
AugmentedFunctionObject getAugmentedFunctionObject(java.lang.String objectName)
Obtains theAugmentedFunctionObject.- Parameters:
objectName- Name of theAugmentedFunctionObject.- Returns:
AugmentedFunctionObject.
-
autoWireManagedFunctionResponsibility
void autoWireManagedFunctionResponsibility(AutoWirer<LinkTeamNode> autoWirer, CompileContext compileContext)
Auto wires theResponsibleTeamfor thisManagedFunction.- Parameters:
autoWirer-AutoWirer.compileContext-CompileContext.
-
loadOfficeFunctionType
OfficeFunctionType loadOfficeFunctionType(OfficeSubSectionType parentSubSectionType, CompileContext compileContext)
Loads theOfficeFunctionType.- Parameters:
parentSubSectionType- ContainingOfficeSubSectionTypeto thisOfficeSectionFunction.compileContext-CompileContext.- Returns:
OfficeFunctionTypeornullwith issues reported to theCompilerIssues.
-
getFunctionNamespaceNode
FunctionNamespaceNode getFunctionNamespaceNode()
Obtains theFunctionNamespaceNodecontaining thisManagedFunctionNode.- Returns:
FunctionNamespaceNodecontaining thisManagedFunctionNode.
-
loadManagedFunctionType
ManagedFunctionType<?,?> loadManagedFunctionType(CompileContext compileContext)
Loads theManagedFunctionTypefor thisManagedFunctionNode.- Parameters:
compileContext-CompileContext.- Returns:
ManagedFunctionTypefor thisManagedFunctionNode. May benullif can not determineManagedFunctionType.
-
createExecutionManagedFunction
ExecutionManagedFunction createExecutionManagedFunction(CompileContext compileContext)
Creates anExecutionManagedFunctionfor thisManagedFunctionNode.- Parameters:
compileContext-CompileContext.- Returns:
ExecutionManagedFunctionfor thisManagedFunctionNode.
-
buildManagedFunction
void buildManagedFunction(OfficeBuilder officeBuilder, CompileContext compileContext)
Builds theManagedFunctionfor thisManagedFunctionNode.- Parameters:
officeBuilder-OfficeBuilder.compileContext-CompileContext.
-
-