Interface NodeContext
-
- All Known Implementing Classes:
OfficeFloorCompilerImpl
public interface NodeContext
Context for aNode
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
-
-
-
Method Detail
-
getRootSourceContext
SourceContext getRootSourceContext()
Obtains the rootSourceContext
.- Returns:
- Root
SourceContext
.
-
getCompilerIssues
CompilerIssues getCompilerIssues()
Obtains theCompilerIssues
.- Returns:
CompilerIssues
.
-
getOfficeFrame
OfficeFrame getOfficeFrame()
Obtains theOfficeFrame
.- Returns:
OfficeFrame
.
-
initiateOfficeFloorBuilder
void initiateOfficeFloorBuilder(OfficeFloorBuilder builder)
Initiates theOfficeFloorBuilder
with theOfficeFloorCompiler
details.- Parameters:
builder
-OfficeFloorBuilder
.
-
createPropertyList
PropertyList createPropertyList()
Creates a newPropertyList
.- Returns:
- New
PropertyList
.
-
createCompileContext
CompileContext createCompileContext()
Creates theCompileContext
.- Returns:
CompileContext
.
-
additionalProfiles
java.lang.String[] additionalProfiles(OfficeNode officeNode)
Obtains the additional profiles.- Parameters:
officeNode
-OfficeNode
providing additional profiles. May benull
.- Returns:
- Additional profiles.
-
overrideProperties
PropertyList overrideProperties(Node node, java.lang.String qualifiedName, PropertyList originalProperties)
Overrides thePropertyList
.- Parameters:
node
-Node
requiring the overriddenPropertyList
.qualifiedName
- Qualified name.originalProperties
- OriginalPropertyList
.- Returns:
- Overridden
PropertyList
.
-
overrideProperties
PropertyList overrideProperties(Node node, java.lang.String qualifiedName, OverrideProperties overrideProperties, PropertyList originalProperties)
Overrides thePropertyList
.- Parameters:
node
-Node
requiring the overriddenPropertyList
.qualifiedName
- Qualified name.overrideProperties
-OverrideProperties
. May benull
.originalProperties
- OriginalPropertyList
.- Returns:
- Overridden
PropertyList
.
-
createAutoWirer
<N extends Node> AutoWirer<N> createAutoWirer(java.lang.Class<N> nodeType, AutoWireDirection direction)
Creates a newAutoWirer
.- Type Parameters:
N
- Type ofNode
.- Parameters:
nodeType
-Class
type ofNode
.direction
-AutoWireDirection
.- Returns:
- New
AutoWirer
.
-
getOfficeFloorSourceClass
<S extends OfficeFloorSource> java.lang.Class<S> getOfficeFloorSourceClass(java.lang.String officeFloorSourceClassName, OfficeFloorNode node)
Obtains theOfficeFloorSource
class.- Type Parameters:
S
-OfficeFloorSource
type.- Parameters:
officeFloorSourceClassName
-Class
name of theOfficeFloorSource
.node
-Node
requiring theOfficeFloorSource
class.- Returns:
OfficeFloorSource
class, ornull
with issues reported to theCompilerIssues
of thisNodeContext
.
-
getOfficeFloorLoader
OfficeFloorLoader getOfficeFloorLoader(OfficeFloorNode node)
Obtains theOfficeFloorLoader
.- Parameters:
node
-Node
requiring theOfficeFloorLoader
.- Returns:
OfficeFloorLoader
.
-
createOfficeFloorNode
OfficeFloorNode createOfficeFloorNode(java.lang.String officeFloorSourceClassName, OfficeFloorSource officeFloorSource, java.lang.String officeFloorLocation)
Creates theOfficeFloorNode
.- Parameters:
officeFloorSourceClassName
-Class
name of theOfficeFloorSource
.officeFloorSource
- Optional instantiatedOfficeFloorSource
. May benull
.officeFloorLocation
- Location of theOfficeFloor
.- Returns:
OfficeFloorNode
.
-
getOfficeSourceClass
<S extends OfficeSource> java.lang.Class<S> getOfficeSourceClass(java.lang.String officeSourceClassName, OfficeNode node)
Obtains theOfficeSource
class.- Type Parameters:
S
-OfficeSource
type.- Parameters:
officeSourceClassName
-OfficeSource
class name or an alias to anOfficeSource
class.node
-Node
requiring theOfficeSource
class.- Returns:
OfficeSource
class, ornull
with issues reported to theCompilerIssues
of thisNodeContext
.
-
getOfficeLoader
OfficeLoader getOfficeLoader(OfficeNode node)
Obtains theOfficeLoader
.- Parameters:
node
-Node
requiring theOfficeLoader
.- Returns:
OfficeLoader
.
-
createOfficeInputNode
OfficeInputNode createOfficeInputNode(java.lang.String officeInputName, OfficeNode office)
Creates theOfficeInputNode
.- Parameters:
officeInputName
- Name of theOfficeInputNode
.office
- ParentOfficeNode
.- Returns:
OfficeInputNode
.
-
createOfficeNode
OfficeNode createOfficeNode(java.lang.String officeName, OfficeFloorNode officeFloor)
Creates theOfficeNode
.- Parameters:
officeName
- Name of theOfficeNode
.officeFloor
- ParentOfficeFloorNode
.- Returns:
OfficeNode
.
-
createOfficeObjectNode
OfficeObjectNode createOfficeObjectNode(java.lang.String objectName, OfficeNode office)
Creates theOfficeObjectNode
.- Parameters:
objectName
- Name of theOfficeObjectNode
.office
- ParentOfficeNode
.- Returns:
OfficeObjectNode
.
-
createOfficeOutputNode
OfficeOutputNode createOfficeOutputNode(java.lang.String name, OfficeNode office)
Creates theOfficeOutputNode
.- Parameters:
name
- Name of theOfficeOutputNode
.office
- ParentOfficeNode
.- Returns:
OfficeOutputNode
.
-
createOfficeStartNode
OfficeStartNode createOfficeStartNode(java.lang.String startName, OfficeNode office)
Creates theOfficeStartNode
.- Parameters:
startName
- Name of theOfficeStartNode
.office
- ParentOfficeNode
.- Returns:
OfficeStartNode
.
-
createOfficeTeamNode
OfficeTeamNode createOfficeTeamNode(java.lang.String officeTeamName, OfficeNode office)
Creates theOfficeTeamNode
.- Parameters:
officeTeamName
- Name of theOfficeTeamNode
.office
- ParentOfficeNode
.- Returns:
OfficeTeamNode
.
-
getSectionSourceClass
<S extends SectionSource> java.lang.Class<S> getSectionSourceClass(java.lang.String sectionSourceClassName, SectionNode node)
Obtains theSectionSource
class.- Type Parameters:
S
-SectionSource
type.- Parameters:
sectionSourceClassName
-SectionSource
class name or an alias to anSectionSource
class.node
-Node
requiring theSectionSource
class.- Returns:
SectionSource
class, ornull
with issues reported to theCompilerIssues
of thisNodeContext
.
-
getSectionLoader
SectionLoader getSectionLoader(SectionNode sectionNode)
Obtains theSectionLoader
.- Parameters:
sectionNode
-SectionNode
requiring theSectionLoader
.- Returns:
SectionLoader
.
-
getSectionLoader
SectionLoader getSectionLoader(OfficeNode officeNode)
Obtains theSectionLoader
.- Parameters:
officeNode
-OfficeNode
requiring theSectionLoader
.- Returns:
SectionLoader
.
-
createSectionInputNode
SectionInputNode createSectionInputNode(java.lang.String inputName, SectionNode section)
Creates theSectionInputNode
.- Parameters:
inputName
- Name of theSectionInputNode
.section
- ParentSectionNode
.- Returns:
SectionInputNode
.
-
createSectionObjectNode
SectionObjectNode createSectionObjectNode(java.lang.String objectName, SectionNode section)
Creates theSectionObjectNode
.- Parameters:
objectName
- Name of theSectionObjectNode
.section
- ParentSectionNode
.- Returns:
SectionObjectNode
.
-
createSectionOutputNode
SectionOutputNode createSectionOutputNode(java.lang.String outputName, SectionNode section)
Creates theSectionOutputNode
.- Parameters:
outputName
- Name of theSectionOutputNode
.section
- ParentSectionNode
.- Returns:
SectionOutputNode
.
-
createSectionNode
SectionNode createSectionNode(java.lang.String sectionName, OfficeNode office)
Creates a top levelSectionNode
within theOfficeNode
.- Parameters:
sectionName
- Name of theOfficeSection
.office
-OfficeNode
containing thisOfficeSection
.- Returns:
SectionNode
.
-
createSectionNode
SectionNode createSectionNode(java.lang.String sectionName, SectionNode parentSection)
Creates aSectionNode
.- Parameters:
sectionName
- Name of theOfficeSection
.parentSection
- ParentSectionNode
containing thisOfficeSection
.- Returns:
SectionNode
.
-
getManagedFunctionSourceClass
<S extends ManagedFunctionSource> java.lang.Class<S> getManagedFunctionSourceClass(java.lang.String managedFunctionSourceName, FunctionNamespaceNode node)
Obtains theManagedFunctionSource
class.- Type Parameters:
S
-ManagedFunctionSource
type.- Parameters:
managedFunctionSourceName
-ManagedFunctionSource
class name or an alias to aManagedFunctionSource
class.node
-Node
requiring theManagedFunctionSource
class.- Returns:
ManagedFunctionSource
class, ornull
with issues reported to theCompilerIssues
of thisNodeContext
.
-
getManagedFunctionLoader
ManagedFunctionLoader getManagedFunctionLoader(FunctionNamespaceNode node, boolean isLoadingType)
Obtains theManagedFunctionLoader
.- Parameters:
node
-Node
requiring theManagedFunctionLoader
.isLoadingType
- Indicates using to load type.- Returns:
ManagedFunctionLoader
.
-
createFunctionNamespaceNode
FunctionNamespaceNode createFunctionNamespaceNode(java.lang.String functionNamespaceName, SectionNode section)
Creates theFunctionNamespaceNode
.- Parameters:
functionNamespaceName
- Name of theFunctionNamespaceNode
.section
- ParentSectionNode
.- Returns:
FunctionNamespaceNode
.
-
createFunctionFlowNode
FunctionFlowNode createFunctionFlowNode(java.lang.String flowName, boolean isEscalation, ManagedFunctionNode function)
Creates theFunctionFlowNode
.- Parameters:
flowName
- Name of theFunctionFlowNode
.isEscalation
- Indicates if isEscalation
.function
- ParentManagedFunctionNode
.- Returns:
FunctionFlowNode
.
-
createFunctionNode
ManagedFunctionNode createFunctionNode(java.lang.String functionName, SectionNode section)
Creates theManagedFunctionNode
.- Parameters:
functionName
- Name of theManagedFunctionNode
.section
- ParentSectionNode
.- Returns:
ManagedFunctionNode
.
-
createFunctionObjectNode
FunctionObjectNode createFunctionObjectNode(java.lang.String objectName, ManagedFunctionNode functionNode)
Creates theFunctionObjectNode
.- Parameters:
objectName
- Name of theFunctionObjectNode
.functionNode
- ParentManagedFunctionNode
.- Returns:
FunctionObjectNode
.
-
createResponsibleTeamNode
ResponsibleTeamNode createResponsibleTeamNode(java.lang.String teamName, ManagedFunctionNode function)
Creates theResponsibleTeamNode
.- Parameters:
teamName
- Name of theResponsibleTeamNode
.function
- ParentManagedFunctionNode
.- Returns:
ResponsibleTeamNode
.
-
getManagedObjectSourceClass
<S extends ManagedObjectSource<?,?>> java.lang.Class<S> getManagedObjectSourceClass(java.lang.String managedObjectSourceName, ManagedObjectSourceNode node)
Obtains theManagedObjectSource
class.- Type Parameters:
S
-ManagedObjectSource
type.- Parameters:
managedObjectSourceName
-ManagedObjectSource
class name or an alias to aManagedObjectSource
class.node
-Node
for reporting issues.- Returns:
ManagedObjectSource
class, ornull
with issues reported to theCompilerIssues
of thisNodeContext
.
-
getManagedObjectLoader
ManagedObjectLoader getManagedObjectLoader(ManagedObjectSourceNode node)
Obtains theManagedObjectLoader
.- Parameters:
node
-Node
requiring theManagedObjectLoader
.- Returns:
ManagedObjectLoader
.
-
createInputManagedNode
InputManagedObjectNode createInputManagedNode(java.lang.String inputManagedObjectName, java.lang.String inputObjectType, OfficeFloorNode officeFloor)
Creates anInputManagedObjectNode
.- Parameters:
inputManagedObjectName
- Name of theInputManagedObjectNode
.inputObjectType
- Input object type.officeFloor
- ParentOfficeFloorNode
.- Returns:
InputManagedObjectNode
.
-
createManagedObjectDependencyNode
ManagedObjectDependencyNode createManagedObjectDependencyNode(java.lang.String dependencyName, ManagedObjectNode managedObject)
Creates aManagedObjectDependencyNode
for aManagedObjectNode
.- Parameters:
dependencyName
- Name of theManagedObjectDependencyNode
.managedObject
- ParentManagedObjectNode
.- Returns:
ManagedObjectDependencyNode
.
-
createManagedObjectDependencyNode
ManagedObjectDependencyNode createManagedObjectDependencyNode(java.lang.String dependencyName, ManagedObjectSourceNode managedObjectSource)
Creates aManagedObjectDependencyNode
for aInputManagedObjectNode
.- Parameters:
dependencyName
- Name of theManagedObjectDependencyNode
.managedObjectSource
- ParentManagedObjectSourceNode
.- Returns:
ManagedObjectDependencyNode
.
-
createManagedObjectFunctionDependencyNode
ManagedObjectFunctionDependencyNode createManagedObjectFunctionDependencyNode(java.lang.String dependencyName, ManagedObjectSourceNode managedObjectSource)
Creates aManagedObjectFunctionDependencyNode
for aManagedObjectSourceNode
.- Parameters:
dependencyName
- Name of theManagedObjectFunctionDependencyNode
.managedObjectSource
- ParentManagedObjectSourceNode
.- Returns:
ManagedObjectFunctionDependencyNode
.
-
createManagedObjectFlowNode
ManagedObjectFlowNode createManagedObjectFlowNode(java.lang.String flowName, ManagedObjectSourceNode managedObjectSource)
Creates theManagedObjectFlowNode
.- Parameters:
flowName
- Name of theManagedObjectFlowNode
.managedObjectSource
- ParentManagedObjectSourceNode
.- Returns:
ManagedObjectFlowNode
.
-
createManagedObjectTeamNode
ManagedObjectTeamNode createManagedObjectTeamNode(java.lang.String teamName, ManagedObjectSourceNode managedObjectSource)
Creates theManagedObjectTeamNode
.- Parameters:
teamName
- Name of theManagedObjectTeamNode
.managedObjectSource
- ParentManagedObjectSourceNode
.- Returns:
ManagedObjectTeamNode
.
-
createManagedObjectExecutionStrategyNode
ManagedObjectExecutionStrategyNode createManagedObjectExecutionStrategyNode(java.lang.String executionStrategyName, ManagedObjectSourceNode managedObjectSource)
Creates theManagedObjectExecutionStrategyNode
.- Parameters:
executionStrategyName
- Name of theManagedObjectExecutionStrategyNode
.managedObjectSource
- ParentManagedObjectSourceNode
.- Returns:
ManagedObjectExecutionStrategyNode
.
-
createManagingOfficeNode
ManagingOfficeNode createManagingOfficeNode(ManagedObjectSourceNode managedObjectSource)
Creates theManagingOfficeNode
.- Parameters:
managedObjectSource
- ParentManagedObjectSourceNode
.- Returns:
ManagingOfficeNode
.
-
createManagedObjectNode
ManagedObjectNode createManagedObjectNode(java.lang.String managedObjectName, SectionNode section)
Creates theManagedObjectNode
.- Parameters:
managedObjectName
- Name of theManagedObjectNode
.section
- ParentSectionNode
.- Returns:
ManagedObjectNode
.
-
createManagedObjectNode
ManagedObjectNode createManagedObjectNode(java.lang.String managedObjectName, OfficeNode office)
Creates theManagedObjectNode
.- Parameters:
managedObjectName
- Name of theManagedObjectNode
.office
- ParentOfficeNode
.- Returns:
ManagedObjectNode
.
-
createManagedObjectNode
ManagedObjectNode createManagedObjectNode(java.lang.String managedObjectName, OfficeFloorNode officeFloor)
Creates theManagedObjectNode
.- Parameters:
managedObjectName
- Name of theManagedObjectNode
.officeFloor
- ParentOfficeFloorNode
.- Returns:
ManagedObjectNode
.
-
createManagedObjectSourceNode
ManagedObjectSourceNode createManagedObjectSourceNode(java.lang.String managedObjectSourceName, SectionNode section)
Creates aManagedObjectSourceNode
.- Parameters:
managedObjectSourceName
- Name of theManagedObjectSourceNode
.section
- ParentSectionNode
.- Returns:
ManagedObjectSourceNode
.
-
createManagedObjectSourceNode
ManagedObjectSourceNode createManagedObjectSourceNode(java.lang.String managedObjectSourceName, OfficeNode office)
Creates aManagedObjectSourceNode
.- Parameters:
managedObjectSourceName
- Name of theManagedObjectSourceNode
.office
- ParentOfficeNode
.- Returns:
ManagedObjectSourceNode
.
-
createManagedObjectSourceNode
ManagedObjectSourceNode createManagedObjectSourceNode(java.lang.String managedObjectSourceName, SuppliedManagedObjectSourceNode suppliedManagedObject)
Creates aManagedObjectSourceNode
.- Parameters:
managedObjectSourceName
- Name of theManagedObjectSourceNode
.suppliedManagedObject
- ParentSuppliedManagedObjectSourceNode
.- Returns:
ManagedObjectSourceNode
.
-
createManagedObjectSourceNode
ManagedObjectSourceNode createManagedObjectSourceNode(java.lang.String managedObjectSourceName, OfficeFloorNode officeFloor)
Creates aManagedObjectSourceNode
.- Parameters:
managedObjectSourceName
- Name of theManagedObjectSourceNode
.officeFloor
- ParentOfficeFloorNode
.- Returns:
ManagedObjectSourceNode
.
-
getManagedObjectPoolSourceClass
<S extends ManagedObjectPoolSource> java.lang.Class<S> getManagedObjectPoolSourceClass(java.lang.String managedObjectPoolSourceName, ManagedObjectPoolNode node)
Obtains theManagedObjectPoolSource
class.- Type Parameters:
S
-ManagedObjectPoolSource
type.- Parameters:
managedObjectPoolSourceName
-ManagedObjectPoolSource
class name or an alias to aManagedObjectPoolSource
class.node
-Node
for reporting issues.- Returns:
ManagedObjectPoolSource
class, ornull
with issues reported to theCompilerIssues
of thisNodeContext
.
-
getManagedObjectPoolLoader
ManagedObjectPoolLoader getManagedObjectPoolLoader(ManagedObjectPoolNode node, OfficeNode officeNode, boolean isLoadingType)
Obtains theManagedObjectPoolLoader
.- Parameters:
node
-Node
requiring theManagedObjectPoolLoader
.officeNode
-OfficeNode
containing theManagedObjectPool
. May benull
if not contained within anOfficeNode
.isLoadingType
- Indicates whether using to load type.- Returns:
ManagedObjectPoolLoader
.
-
createManagedObjectPoolNode
ManagedObjectPoolNode createManagedObjectPoolNode(java.lang.String managedObjectPoolName, OfficeFloorNode officeFloorNode)
Creates theManagedObjectPoolNode
.- Parameters:
managedObjectPoolName
- Name of theManagedObjectPoolNode
.officeFloorNode
- ParentOfficeFloorNode
.- Returns:
ManagedObjectPoolNode
.
-
createManagedObjectPoolNode
ManagedObjectPoolNode createManagedObjectPoolNode(java.lang.String managedObjectPoolName, OfficeNode officeNode)
Creates theManagedObjectPoolNode
.- Parameters:
managedObjectPoolName
- Name of theManagedObjectPoolNode
.officeNode
- ParentOfficeNode
.- Returns:
ManagedObjectPoolNode
.
-
createManagedObjectPoolNode
ManagedObjectPoolNode createManagedObjectPoolNode(java.lang.String managedObjectPoolName, SectionNode sectionNode)
Creates theManagedObjectPoolNode
.- Parameters:
managedObjectPoolName
- Name of theManagedObjectPoolNode
.sectionNode
- ParentSectionNode
.- Returns:
ManagedObjectPoolNode
.
-
getSupplierSourceClass
<S extends SupplierSource> java.lang.Class<S> getSupplierSourceClass(java.lang.String supplierSourceClassName, SupplierNode node)
Obtains theSupplierSource
class.- Type Parameters:
S
-SupplierSource
type.- Parameters:
supplierSourceClassName
-SupplierSource
class name or an alias to aSupplierSource
class.node
-Node
requiring theSupplierSource
class.- Returns:
SupplierSource
class, ornull
with issues reported to theCompilerIssues
of thisNodeContext
.
-
getSupplierLoader
SupplierLoader getSupplierLoader(SupplierNode node, boolean isLoadingType)
Obtains theSupplierLoader
.- Parameters:
node
-Node
requiring theSupplierLoader
.isLoadingType
- Indicates if using to load type.- Returns:
SupplierLoader
.
-
createSupplierThreadLocalNode
SupplierThreadLocalNode createSupplierThreadLocalNode(java.lang.String qualifier, java.lang.String type, SupplierNode supplier)
Creates theSupplierThreadLocalNode
.- Parameters:
qualifier
- Qualifier. May benull
if no qualifier.type
- Type.supplier
- ParentSupplierNode
.- Returns:
SupplierThreadLocalNode
.
-
createSuppliedManagedObjectSourceNode
SuppliedManagedObjectSourceNode createSuppliedManagedObjectSourceNode(java.lang.String qualifier, java.lang.String type, SupplierNode supplier)
Creates theSuppliedManagedObjectSourceNode
.- Parameters:
qualifier
- Qualifier. May benull
if no qualifier.type
- Type.supplier
- ParentSupplierNode
.- Returns:
SuppliedManagedObjectSourceNode
.
-
createSupplierNode
SupplierNode createSupplierNode(java.lang.String supplierName, OfficeFloorNode officeFloor)
Creates theSupplierNode
.- Parameters:
supplierName
- Name of theSupplierNode
.officeFloor
- ParentOfficeFloorNode
.- Returns:
SupplierNode
.
-
createSupplierNode
SupplierNode createSupplierNode(java.lang.String supplierName, OfficeNode office)
Creates theSupplierNode
.- Parameters:
supplierName
- Name of theSupplierNode
.office
- ParentOffice
.- Returns:
SupplierNode
.
-
getAdministrationSourceClass
<S extends AdministrationSource<?,?,?>> java.lang.Class<S> getAdministrationSourceClass(java.lang.String administrationSourceClassName, AdministrationNode node)
Obtains theAdministrationSource
class.- Type Parameters:
S
-AdministrationSource
type.- Parameters:
administrationSourceClassName
-AdministrationSource
class name or an alias to anAdministrationSource
class.node
-Node
requiring theAdministrationSource
class.- Returns:
AdministrationSource
class, ornull
with issues reported to theCompilerIssues
of thisNodeContext
.
-
getAdministrationLoader
AdministrationLoader getAdministrationLoader(AdministrationNode node, boolean isLoadingType)
Obtains theAdministrationLoader
.- Parameters:
node
-Node
requiring theAdministrationLoader
.isLoadingType
- Indicates if using to load type.- Returns:
AdministrationLoader
.
-
createAdministrationNode
AdministrationNode createAdministrationNode(java.lang.String administratorName, OfficeNode office)
Creates aAdministrationNode
.- Parameters:
administratorName
- Name of theAdministration
.office
-OfficeNode
containing thisAdministration
.- Returns:
AdministrationNode
.
-
getGovernanceSourceClass
<S extends GovernanceSource<?,?>> java.lang.Class<S> getGovernanceSourceClass(java.lang.String governanceSourceName, GovernanceNode node)
Obtains theGovernanceSource
class.- Type Parameters:
S
-GovernanceSource
type.- Parameters:
governanceSourceName
-GovernanceSource
class name or an alias to anGovernanceSource
class.node
-Node
requiring theGovernanceSource
class.- Returns:
GovernanceSource
class, ornull
with issues reported to theCompilerIssues
of thisNodeContext
.
-
getGovernanceLoader
GovernanceLoader getGovernanceLoader(GovernanceNode node, boolean isLoadingType)
Obtains theGovernanceLoader
.- Parameters:
node
-Node
requiring theGovernanceLoader
.isLoadingType
- Indicates using for loading type.- Returns:
GovernanceLoader
.
-
createGovernanceNode
GovernanceNode createGovernanceNode(java.lang.String governanceName, OfficeNode office)
Creates aGovernanceNode
.- Parameters:
governanceName
- Name of theGovernance
.office
-OfficeNode
containing thisGovernance
.- Returns:
GovernanceNode
.
-
getTeamSourceClass
<S extends TeamSource> java.lang.Class<S> getTeamSourceClass(java.lang.String teamSourceClassName, TeamNode node)
Obtains theTeamSource
class.- Type Parameters:
S
-TeamSource
type.- Parameters:
teamSourceClassName
-TeamSource
class name or an alias to aTeamSource
class.node
-Node
requiring theTeamSource
class.- Returns:
TeamSource
class, ornull
with issues reported to theCompilerIssues
of thisNodeContext
.
-
getTeamLoader
TeamLoader getTeamLoader(TeamNode node)
Obtains theTeamLoader
.- Parameters:
node
-Node
requiring theTeamLoader
.- Returns:
TeamLoader
.
-
createTeamNode
TeamNode createTeamNode(java.lang.String teamName, OfficeFloorNode officeFloor)
Creates theTeamNode
.- Parameters:
teamName
- Name of theTeamNode
.officeFloor
- ParentOfficeFloorNode
.- Returns:
TeamNode
.
-
getExecutiveSourceClass
<S extends ExecutiveSource> java.lang.Class<S> getExecutiveSourceClass(java.lang.String executiveSourceClassName, ExecutiveNode node)
Obtains theExecutiveSource
class.- Type Parameters:
S
-ExecutiveSource
type.- Parameters:
executiveSourceClassName
-ExecutiveSource
class name or an alias to aExecutiveSource
class.node
-Node
requiring theExecutiveSource
class.- Returns:
ExecutiveSource
class, ornull
with issues reported to theCompilerIssues
of thisNodeContext
.
-
getExecutiveLoader
ExecutiveLoader getExecutiveLoader(ExecutiveNode node)
Obtains theExecutiveNode
.- Parameters:
node
-Node
requiring theExecutiveLoader
.- Returns:
ExecutiveLoader
.
-
createExecutiveNode
ExecutiveNode createExecutiveNode(OfficeFloorNode officeFloor)
Creates theExecutiveNode
.- Parameters:
officeFloor
- ParentOfficeFloorNode
.- Returns:
ExecutiveNode
.
-
createExecutionStrategyNode
ExecutionStrategyNode createExecutionStrategyNode(java.lang.String executionStrategyName, ExecutiveNode executive)
Creates theExecutionStrategyNode
.- Parameters:
executionStrategyName
- Name of theExecutionStrategy
.executive
- ParentExecutiveNode
.- Returns:
ExecutionStrategyNode
.
-
createEscalationNode
EscalationNode createEscalationNode(java.lang.String escalationType, OfficeNode officeNode)
Creates anEscalationNode
.- Parameters:
escalationType
-Escalation
type.officeNode
-OfficeNode
containing thisEscalation
.- Returns:
EscalationNode
.
-
-