Interface ManagedFunctionNode
-
- All Superinterfaces:
LinkFlowNode
,Node
,OfficeSectionFunction
,SectionFlowSinkNode
,SectionFlowSourceNode
,SectionFunction
- All Known Implementing Classes:
ManagedFunctionNodeImpl
public interface ManagedFunctionNode extends LinkFlowNode, SectionFunction, OfficeSectionFunction
SectionFunction
node.- 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
Node
type.- 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
-ManagedFunctionType
name.functionNamespace
-FunctionNamespaceNode
for theManagedFunctionNode
.
-
souceManagedFunction
boolean souceManagedFunction(ManagedFunctionVisitor managedFunctionVisitor, CompileContext compileContext)
Sources theManagedFunction
.- Parameters:
managedFunctionVisitor
-ManagedFunctionVisitor
.compileContext
-CompileContext
.- Returns:
true
if successfully sourced theManagedFunction
.false
if 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 theResponsibleTeam
for thisManagedFunction
.- Parameters:
autoWirer
-AutoWirer
.compileContext
-CompileContext
.
-
loadOfficeFunctionType
OfficeFunctionType loadOfficeFunctionType(OfficeSubSectionType parentSubSectionType, CompileContext compileContext)
Loads theOfficeFunctionType
.- Parameters:
parentSubSectionType
- ContainingOfficeSubSectionType
to thisOfficeSectionFunction
.compileContext
-CompileContext
.- Returns:
OfficeFunctionType
ornull
with issues reported to theCompilerIssues
.
-
getFunctionNamespaceNode
FunctionNamespaceNode getFunctionNamespaceNode()
Obtains theFunctionNamespaceNode
containing thisManagedFunctionNode
.- Returns:
FunctionNamespaceNode
containing thisManagedFunctionNode
.
-
loadManagedFunctionType
ManagedFunctionType<?,?> loadManagedFunctionType(CompileContext compileContext)
Loads theManagedFunctionType
for thisManagedFunctionNode
.- Parameters:
compileContext
-CompileContext
.- Returns:
ManagedFunctionType
for thisManagedFunctionNode
. May benull
if can not determineManagedFunctionType
.
-
createExecutionManagedFunction
ExecutionManagedFunction createExecutionManagedFunction(CompileContext compileContext)
Creates anExecutionManagedFunction
for thisManagedFunctionNode
.- Parameters:
compileContext
-CompileContext
.- Returns:
ExecutionManagedFunction
for thisManagedFunctionNode
.
-
buildManagedFunction
void buildManagedFunction(OfficeBuilder officeBuilder, CompileContext compileContext)
Builds theManagedFunction
for thisManagedFunctionNode
.- Parameters:
officeBuilder
-OfficeBuilder
.compileContext
-CompileContext
.
-
-