Interface ManagedFunctionNode
- All Superinterfaces:
LinkFlowNode,Node,OfficeSectionFunction,SectionFlowSinkNode,SectionFlowSourceNode,SectionFunction
- All Known Implementing Classes:
ManagedFunctionNodeImpl
SectionFunction node.- Author:
- Daniel Sagenschneider
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidautoWireManagedFunctionResponsibility(AutoWirer<LinkTeamNode> autoWirer, CompileContext compileContext) Auto wires theResponsibleTeamfor thisManagedFunction.voidbuildManagedFunction(OfficeBuilder officeBuilder, OfficeBindings officeBindings, CompileContext compileContext) Builds theManagedFunctionfor thisManagedFunctionNode.createExecutionManagedFunction(CompileContext compileContext) Creates anExecutionManagedFunctionfor thisManagedFunctionNode.getAugmentedFunctionObject(String objectName) Obtains theAugmentedFunctionObject.Obtains theFunctionNamespaceNodecontaining thisManagedFunctionNode.Obtains the fully qualified name of thisManagedFunction.voidinitialise(String managedFunctionTypeName, FunctionNamespaceNode functionNamespace) Initialises thisManagedFunctionNode.ManagedFunctionType<?,?> loadManagedFunctionType(CompileContext compileContext) Loads theManagedFunctionTypefor thisManagedFunctionNode.loadOfficeFunctionType(OfficeSubSectionType parentSubSectionType, CompileContext compileContext) Loads theOfficeFunctionType.booleansouceManagedFunction(ManagedFunctionVisitor managedFunctionVisitor, CompileContext compileContext) Sources theManagedFunction.Methods inherited from interface net.officefloor.compile.internal.structure.LinkFlowNode
getLinkedFlowNode, linkFlowNodeMethods inherited from interface net.officefloor.compile.internal.structure.Node
getChildNodes, getLocation, getNodeName, getNodeType, getParentNode, getQualifiedName, getQualifiedName, isInitialisedMethods inherited from interface net.officefloor.compile.spi.office.OfficeSectionFunction
addGovernance, addPostAdministration, addPreAdministration, getOfficeFunctionName, getResponsibleTeamMethods inherited from interface net.officefloor.compile.spi.section.SectionFunction
getFunctionEscalation, getFunctionFlow, getFunctionObject, getSectionFunctionName
-
Field Details
-
TYPE
Nodetype.- See Also:
-
-
Method Details
-
getQualifiedFunctionName
String getQualifiedFunctionName()Obtains the fully qualified name of thisManagedFunction.- Returns:
- Fully qualified name of this
ManagedFunction.
-
initialise
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
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
Loads theManagedFunctionTypefor thisManagedFunctionNode.- Parameters:
compileContext-CompileContext.- Returns:
ManagedFunctionTypefor thisManagedFunctionNode. May benullif can not determineManagedFunctionType.
-
createExecutionManagedFunction
Creates anExecutionManagedFunctionfor thisManagedFunctionNode.- Parameters:
compileContext-CompileContext.- Returns:
ExecutionManagedFunctionfor thisManagedFunctionNode.
-
buildManagedFunction
void buildManagedFunction(OfficeBuilder officeBuilder, OfficeBindings officeBindings, CompileContext compileContext) Builds theManagedFunctionfor thisManagedFunctionNode.- Parameters:
officeBuilder-OfficeBuilder.officeBindings-OfficeBindings.compileContext-CompileContext.
-