Class OfficeFloorCompilerImpl
- All Implemented Interfaces:
Node,NodeContext,PropertyConfigurable,TypeLoader
OfficeFloorCompiler implementation.
The default OfficeFloorSource is
ApplicationOfficeFloorSource.
- Author:
- Daniel Sagenschneider
-
Nested Class Summary
Nested classes/interfaces inherited from class net.officefloor.compile.OfficeFloorCompiler
OfficeFloorCompiler.OfficeFloorCompilerFactory -
Field Summary
Fields inherited from class net.officefloor.compile.OfficeFloorCompiler
IMPLEMENTATION_CLASS_PROPERTY_NAME, TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<E,F extends Enum<F>, G extends Enum<G>, S extends AdministrationSource<E, F, G>>
voidaddAdministrationSourceAlias(String alias, Class<S> administrationSourceClass) Allows providing an alias name for aAdministrationSource.voidaddAutoWireStateManagerVisitor(AutoWireStateManagerVisitor autoWireStateManagerVisitor) Adds anAutoWireStateManagerVisitor.<I,F extends Enum<F>, S extends GovernanceSource<I, F>>
voidaddGovernanceSourceAlias(String alias, Class<S> governanceSourceClass) Allows providing an alias name for aGovernanceSource.String[]additionalProfiles(OfficeNode officeNode) Obtains the additional profiles.<S extends ManagedFunctionSource>
voidaddManagedFunctionSourceAlias(String alias, Class<S> managedFunctionSourceClass) Allows providing an alias name for aManagedFunctionSource.<S extends ManagedObjectPoolSource>
voidaddManagedObjectPoolSourceAlias(String alias, Class<S> managedObjectPoolSourceClass) Allows providing an alias name for aManagedObjectPoolSource.<D extends Enum<D>,F extends Enum<F>, S extends ManagedObjectSource<D, F>>
voidaddManagedObjectSourceAlias(String alias, Class<S> managedObjectSourceClass) Allows providing an alias name for aManagedObjectSource.voidaddOfficeFloorListener(OfficeFloorListener officeFloorListener) Adds anOfficeFloorListener.<S extends OfficeSource>
voidaddOfficeSourceAlias(String alias, Class<S> officeSourceClass) Allows providing an alias name for anOfficeSource.voidaddProfile(String profile) Adds a profile.voidaddProfiler(String officeName, Profiler profiler) voidaddProperty(String name, String value) Adds aPropertyto configure the item.voidaddResources(ResourceSource resourceSource) Adds aResourceSource.<S extends SectionSource>
voidaddSectionSourceAlias(String alias, Class<S> sectionSourceClass) Allows providing an alias name for aSectionSource.<S extends SupplierSource>
voidaddSupplierSourceAlias(String alias, Class<S> supplierSourceClass) Allows providing an alias name for aSupplierSource.<S extends TeamSource>
voidaddTeamSourceAlias(String alias, Class<S> teamSourceClass) Allows providing an alias name for aTeamSource.Compiles and builds theOfficeFloor.booleanRuns theOfficeFloorCompilerConfigurerinstances to configure thisOfficeFloorCompiler.createAdministrationNode(String administrationName, OfficeNode office) Creates aAdministrationNode.createAutoWirer(Class<N> nodeType, AutoWireDirection direction) Creates a newAutoWirer.Creates theCompileContext.createEscalationNode(String escalationType, OfficeNode officeNode) Creates anEscalationNode.createExecutionStrategyNode(String executionStrategyName, ExecutiveNode executive) Creates theExecutionStrategyNode.createExecutiveNode(OfficeFloorNode officeFloor) Creates theExecutiveNode.createFunctionFlowNode(String flowName, boolean isEscalation, ManagedFunctionNode function) Creates theFunctionFlowNode.createFunctionNamespaceNode(String functionNamespaceName, SectionNode section) Creates theFunctionNamespaceNode.createFunctionNode(String functionName, SectionNode section) Creates theManagedFunctionNode.createFunctionObjectNode(String objectName, ManagedFunctionNode functionNode) Creates theFunctionObjectNode.createGovernanceNode(String governanceName, OfficeNode office) Creates aGovernanceNode.createInputManagedNode(String inputManagedObjectName, String inputObjectType, OfficeFloorNode officeFloor) Creates anInputManagedObjectNode.createManagedObjectDependencyNode(String dependencyName, ManagedObjectNode managedObject) Creates aManagedObjectDependencyNodefor aManagedObjectNode.createManagedObjectDependencyNode(String dependencyName, ManagedObjectSourceNode managedObjectSource) Creates aManagedObjectDependencyNodefor aInputManagedObjectNode.createManagedObjectExecutionStrategyNode(String executionStrategyName, ManagedObjectSourceNode managedObjectSource) Creates theManagedObjectExecutionStrategyNode.createManagedObjectFlowNode(String flowName, ManagedObjectSourceNode managedObjectSource) Creates theManagedObjectFlowNode.createManagedObjectFunctionDependencyNode(String dependencyName, ManagedObjectSourceNode managedObjectSource) Creates aManagedObjectFunctionDependencyNodefor aManagedObjectSourceNode.createManagedObjectNode(String managedObjectName, OfficeFloorNode officeFloor) Creates theManagedObjectNode.createManagedObjectNode(String managedObjectName, OfficeNode office) Creates theManagedObjectNode.createManagedObjectNode(String managedObjectName, SectionNode section) Creates theManagedObjectNode.createManagedObjectPoolNode(String managedObjectPoolName, OfficeFloorNode officeFloorNode) Creates theManagedObjectPoolNode.createManagedObjectPoolNode(String managedObjectPoolName, OfficeNode officeNode) Creates theManagedObjectPoolNode.createManagedObjectPoolNode(String managedObjectPoolName, SectionNode sectionNode) Creates theManagedObjectPoolNode.createManagedObjectSourceNode(String managedObjectSourceName, OfficeFloorNode officeFloor) Creates aManagedObjectSourceNode.createManagedObjectSourceNode(String managedObjectSourceName, OfficeNode office) Creates aManagedObjectSourceNode.createManagedObjectSourceNode(String managedObjectSourceName, SectionNode section) Creates aManagedObjectSourceNode.createManagedObjectSourceNode(String managedObjectSourceName, SuppliedManagedObjectSourceNode suppliedManagedObject) Creates aManagedObjectSourceNode.createManagedObjectTeamNode(String teamName, ManagedObjectSourceNode managedObjectSource) Creates theManagedObjectTeamNode.createManagingOfficeNode(ManagedObjectSourceNode managedObjectSource) Creates theManagingOfficeNode.createOfficeFloorNode(String officeFloorSourceClassName, OfficeFloorSource officeFloorSource, String officeFloorLocation) Creates theOfficeFloorNode.createOfficeInputNode(String officeInputName, OfficeNode office) Creates theOfficeInputNode.createOfficeNode(String officeName, OfficeFloorNode officeFloor) Creates theOfficeNode.createOfficeObjectNode(String objectName, OfficeNode office) Creates theOfficeObjectNode.createOfficeOutputNode(String name, OfficeNode office) Creates theOfficeOutputNode.createOfficeStartNode(String startName, OfficeNode office) Creates theOfficeStartNode.createOfficeTeamNode(String officeTeamName, OfficeNode office) Creates theOfficeTeamNode.Creates a new emptyPropertyList.createResponsibleTeamNode(String teamName, ManagedFunctionNode function) Creates theResponsibleTeamNode.Creates a rootSourceContext.createSectionInputNode(String inputName, SectionNode section) Creates theSectionInputNode.createSectionNode(String sectionName, OfficeNode office) Creates a top levelSectionNodewithin theOfficeNode.createSectionNode(String sectionName, SectionNode parentSection) Creates aSectionNode.createSectionObjectNode(String objectName, SectionNode section) Creates theSectionObjectNode.createSectionOutputNode(String outputName, SectionNode section) Creates theSectionOutputNode.createSuppliedManagedObjectSourceNode(String qualifier, String type, SupplierNode supplier) Creates theSuppliedManagedObjectSourceNode.createSupplierNode(String supplierName, OfficeFloorNode officeFloor) Creates theSupplierNode.createSupplierNode(String supplierName, OfficeNode office) Creates theSupplierNode.createSupplierThreadLocalNode(String qualifier, String type, SupplierNode supplier) Creates theSupplierThreadLocalNode.createTeamNode(String teamName, OfficeFloorNode officeFloor) Creates theTeamNode.Obtains theAdministrationLoader.getAdministrationLoader(AdministrationNode node, boolean isLoadingType) Obtains theAdministrationLoader.<S extends AdministrationSource<?,?, ?>>
Class<S>getAdministrationSourceClass(String administrationSourceName, AdministrationNode node) Obtains theAdministrationSourceclass.Obtains theCompilerIssues.Obtains theExecutiveLoader.Obtains theExecutiveNode.<S extends ExecutiveSource>
Class<S>getExecutiveSourceClass(String executiveSourceClassName, ExecutiveNode node) Obtains theExecutiveSourceclass.Obtains theGovernanceLoader.getGovernanceLoader(GovernanceNode node, boolean isLoadingType) Obtains theGovernanceLoader.<S extends GovernanceSource<?,?>>
Class<S>getGovernanceSourceClass(String governanceSourceName, GovernanceNode node) Obtains theGovernanceSourceclass.Obtains theManagedFunctionLoader.getManagedFunctionLoader(FunctionNamespaceNode node, boolean isLoadingType) Obtains theManagedFunctionLoader.<S extends ManagedFunctionSource>
Class<S>getManagedFunctionSourceClass(String managedFunctionSourceName, FunctionNamespaceNode node) Obtains theManagedFunctionSourceclass.Obtains theManagedObjectLoader.Obtains theManagedObjectLoader.Obtains theManagedObjectPoolLoader.getManagedObjectPoolLoader(ManagedObjectPoolNode node, OfficeNode officeNode, boolean isLoadingType) Obtains theManagedObjectPoolLoader.<S extends ManagedObjectPoolSource>
Class<S>getManagedObjectPoolSourceClass(String managedObjectPoolSourceName, ManagedObjectPoolNode node) Obtains theManagedObjectPoolSourceclass.<S extends ManagedObjectSource<?,?>>
Class<S>getManagedObjectSourceClass(String managedObjectSourceName, ManagedObjectSourceNode node) Obtains theManagedObjectSourceclass.Obtains theOfficeFloorLoader.Obtains theOfficeFloorLoader.<S extends OfficeFloorSource>
Class<S>getOfficeFloorSourceClass(String officeFloorSourceClassName, OfficeFloorNode node) Obtains theOfficeFloorSourceclass.Obtains theOfficeFrame.Obtains theOfficeLoader.getOfficeLoader(OfficeNode node) Obtains theOfficeLoader.<S extends OfficeSource>
Class<S>getOfficeSourceClass(String officeSourceName, OfficeNode node) Obtains theOfficeSourceclass.Obtains the rootSourceContext.Obtains theSectionLoader.getSectionLoader(OfficeNode officeNode) Obtains theSectionLoader.getSectionLoader(SectionNode sectionNode) Obtains theSectionLoader.<S extends SectionSource>
Class<S>getSectionSourceClass(String sectionSourceName, SectionNode node) Obtains theSectionSourceclass.Obtains theSupplierLoader.getSupplierLoader(SupplierNode node, boolean isLoadingType) Obtains theSupplierLoader.<S extends SupplierSource>
Class<S>getSupplierSourceClass(String supplierSourceClassName, SupplierNode node) Obtains theSupplierSourceclass.Obtains theTeamLoader.getTeamLoader(TeamNode node) Obtains theTeamLoader.<S extends TeamSource>
Class<S>getTeamSourceClass(String teamSourceName, TeamNode node) Obtains theTeamSourceclass.Obtains theTypeLoader.voidInitiates theOfficeFloorBuilderwith theOfficeFloorCompilerdetails.loadManagedFunctionType(String managedFunctionSourceName, String managedFunctionSourceClassName, PropertyList properties) Loads theFunctionNamespaceType.loadManagedObjectType(String managedObjectSourceName, String managedObjectSourceClassName, PropertyList properties) Loads theManagedObjectType.overrideProperties(Node node, String qualifiedName, OverrideProperties overrideProperties, PropertyList originalProperties) Overrides thePropertyList.overrideProperties(Node node, String qualifiedName, PropertyList originalProperties) Overrides thePropertyList.protected voidResets the rootSourceContext.voidsetClockFactory(ClockFactory clockFactory) Specifies theClockFactory.voidsetCompilerIssues(CompilerIssues issues) Overrides the defaultCompilerIssuesto use in compiling theOfficeFloor.voidsetEscalationHandler(EscalationHandler escalationHandler) Overrides the defaultEscalationHandler.voidsetMBeanRegistrator(MBeanRegistrator mbeanRegistrator) Specifies theMBeanRegistrator.voidsetOfficeFloorLocation(String officeFloorLocation) Specifies the location of theOfficeFloor.voidsetOfficeFloorSource(OfficeFloorSource officeFloorSource) Specifies theOfficeFloorSourceinstance to use for compiling theOfficeFloor.<S extends OfficeFloorSource>
voidsetOfficeFloorSourceClass(Class<S> officeFloorSourceClass) Overrides the defaultOfficeFloorSourceto source theOfficeFloor.voidsetOfficeFrame(OfficeFrame officeFrame) Overrides the defaultOfficeFramefor building theOfficeFloor.voidsetOverridePropertiesDirectory(File propertiesDirectory) Specifies a directory containing override properties.Methods inherited from class net.officefloor.compile.OfficeFloorCompiler
addEnvProperties, addSourceAliases, addSystemProperties, getChildNodes, getClassLoader, getLocation, getNodeName, getNodeType, getParentNode, getQualifiedName, isInitialised, newOfficeFloorCompiler, newPropertyList, run, setClassLoader, setFactoryMethods 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
-
Constructor Details
-
OfficeFloorCompilerImpl
public OfficeFloorCompilerImpl()
-
-
Method Details
-
setClockFactory
Description copied from class:OfficeFloorCompilerSpecifies the
ClockFactory.This will be added to the
OfficeFramebefore compiling theOfficeFloorand will be available in theSourceContextfor retrievingClockinstances.- Specified by:
setClockFactoryin classOfficeFloorCompiler- Parameters:
clockFactory-ClockFactory.
-
addResources
Description copied from class:OfficeFloorCompilerAdds a
ResourceSource.This will be added to the
OfficeFramebefore compiling theOfficeFloorand will be available in theSourceContextfor loading the various sources.- Specified by:
addResourcesin classOfficeFloorCompiler- Parameters:
resourceSource-ResourceSource.
-
setEscalationHandler
Description copied from class:OfficeFloorCompilerOverrides the default
EscalationHandler.This will be specified on the
OfficeFramebefore compiling theOfficeFloor.- Specified by:
setEscalationHandlerin classOfficeFloorCompiler- Parameters:
escalationHandler-EscalationHandler.
-
setCompilerIssues
Description copied from class:OfficeFloorCompilerOverrides the default
CompilerIssuesto use in compiling theOfficeFloor.Implementations of
OfficeFloorCompilermust provide a defaultCompilerIssues. Typically this will be an implementation that writes issues toSystem.err.- Specified by:
setCompilerIssuesin classOfficeFloorCompiler- Parameters:
issues-CompilerIssues.
-
setOfficeFrame
Description copied from class:OfficeFloorCompilerOverrides the default
OfficeFramefor building theOfficeFloor.Should this not be called the
OfficeFloorCompilerimplementation should use theOfficeFrame.getInstance()to build theOfficeFloor.- Specified by:
setOfficeFramein classOfficeFloorCompiler- Parameters:
officeFrame-OfficeFrame.
-
setOfficeFloorSourceClass
public <S extends OfficeFloorSource> void setOfficeFloorSourceClass(Class<S> officeFloorSourceClass) Description copied from class:OfficeFloorCompilerOverrides the default
OfficeFloorSourceto source theOfficeFloor.OfficeFloorCompilerimplementations must provide a defaultOfficeFloorSourceimplementation. The choice ofOfficeFloorSourceimplementation is left to theOfficeFloorCompiler, however it should be clearly documented on theOfficeFloorCompilerimplementation whichOfficeFloorSourceimplementation is being used.- Specified by:
setOfficeFloorSourceClassin classOfficeFloorCompiler- Type Parameters:
S-OfficeFloorSourcetype.- Parameters:
officeFloorSourceClass-OfficeFloorSourceClass.
-
setOfficeFloorSource
Description copied from class:OfficeFloorCompilerSpecifies the
OfficeFloorSourceinstance to use for compiling theOfficeFloor.This will take precedence over specifying the
OfficeFloorSourceclass.- Specified by:
setOfficeFloorSourcein classOfficeFloorCompiler- Parameters:
officeFloorSource-OfficeFloorSource.
-
setOfficeFloorLocation
Description copied from class:OfficeFloorCompilerSpecifies the location of theOfficeFloor.- Specified by:
setOfficeFloorLocationin classOfficeFloorCompiler- Parameters:
officeFloorLocation- Location of theOfficeFloor.
-
setMBeanRegistrator
Description copied from class:OfficeFloorCompilerSpecifies theMBeanRegistrator.- Specified by:
setMBeanRegistratorin classOfficeFloorCompiler- Parameters:
mbeanRegistrator-MBeanRegistrator.
-
addProfile
Description copied from class:OfficeFloorCompilerAdds a profile.- Specified by:
addProfilein classOfficeFloorCompiler- Parameters:
profile- Profile.
-
addProperty
Description copied from interface:PropertyConfigurableAdds aPropertyto configure the item.- Specified by:
addPropertyin interfacePropertyConfigurable- Parameters:
name- Name ofProperty.value- Value ofProperty.
-
addOfficeSourceAlias
Description copied from class:OfficeFloorCompilerAllows providing an alias name for an
OfficeSource.This stops the configuration files from being littered with fully qualified class names of the
OfficeSourceclasses. This is anticipated to allow flexibility as the functionality evolves so that relocating/renaming classes does not require significant configuration changes.Typically this should not be used directly as the
OfficeSourceServiceis the preferred means to provideOfficeSourcealiases.- Specified by:
addOfficeSourceAliasin classOfficeFloorCompiler- Type Parameters:
S-OfficeSourcetype.- Parameters:
alias- Alias name for theOfficeSource.officeSourceClass-OfficeSourceClassfor the alias.
-
addSectionSourceAlias
public <S extends SectionSource> void addSectionSourceAlias(String alias, Class<S> sectionSourceClass) Description copied from class:OfficeFloorCompilerAllows providing an alias name for a
SectionSource.This stops the configuration files from being littered with fully qualified class names of the
SectionSourceclasses. This is anticipated to allow flexibility as the functionality evolves so that relocating/renaming classes does not require significant configuration changes.Typically this should not be used directly as the
SectionSourceServiceis the preferred means to provideSectionSourcealiases.- Specified by:
addSectionSourceAliasin classOfficeFloorCompiler- Type Parameters:
S-SectionSourcetype.- Parameters:
alias- Alias name for theSectionSource.sectionSourceClass-SectionSourceClassfor the alias.
-
addManagedFunctionSourceAlias
public <S extends ManagedFunctionSource> void addManagedFunctionSourceAlias(String alias, Class<S> managedFunctionSourceClass) Description copied from class:OfficeFloorCompilerAllows providing an alias name for a
ManagedFunctionSource.This stops the configuration files from being littered with fully qualified class names of the
ManagedFunctionSourceclasses. This is anticipated to allow flexibility as the functionality evolves so that relocating/renaming classes does not require significant configuration changes.Typically this should not be used directly as the
ManagedFunctionSourceServiceis the preferred means to provideManagedFunctionSourcealiases.- Specified by:
addManagedFunctionSourceAliasin classOfficeFloorCompiler- Type Parameters:
S-ManagedFunctionSourcetype.- Parameters:
alias- Alias name for theManagedFunctionSource.managedFunctionSourceClass-ManagedFunctionSourceClassfor the alias.
-
addManagedObjectSourceAlias
public <D extends Enum<D>,F extends Enum<F>, void addManagedObjectSourceAliasS extends ManagedObjectSource<D, F>> (String alias, Class<S> managedObjectSourceClass) Description copied from class:OfficeFloorCompilerAllows providing an alias name for a
ManagedObjectSource.This stops the configuration files from being littered with fully qualified class names of the
ManagedObjectSourceclasses. This is anticipated to allow flexibility as the functionality evolves so that relocating/renaming classes does not require significant configuration changes.Typically this should not be used directly as the
ManagedObjectSourceServiceis the preferred means to provideManagedObjectSourcealiases.- Specified by:
addManagedObjectSourceAliasin classOfficeFloorCompiler- Type Parameters:
D- Dependency type keys.F-Flowtype keys.S-ManagedObjectSourcetype.- Parameters:
alias- Alias name for theManagedObjectSource.managedObjectSourceClass-ManagedObjectSourceClassfor the alias.
-
addManagedObjectPoolSourceAlias
public <S extends ManagedObjectPoolSource> void addManagedObjectPoolSourceAlias(String alias, Class<S> managedObjectPoolSourceClass) Description copied from class:OfficeFloorCompilerAllows providing an alias name for a
ManagedObjectPoolSource.This stops the configuration files from being littered with fully qualified class names of the
ManagedObjectPoolSourceclasses. This is anticipated to allow flexibility as the functionality evolves so that relocating/renaming classes does not require significant configuration changes.Typically this should not be used directly as the
ManagedObjectSourceServiceis the preferred means to provideManagedObjectSourcealiases.- Specified by:
addManagedObjectPoolSourceAliasin classOfficeFloorCompiler- Type Parameters:
S-ManagedObjectPoolSourcetype.- Parameters:
alias- Alias name for theManagedObjectPoolSource.managedObjectPoolSourceClass-ManagedObjectPoolSourceClassfor the alias.
-
addSupplierSourceAlias
public <S extends SupplierSource> void addSupplierSourceAlias(String alias, Class<S> supplierSourceClass) Description copied from class:OfficeFloorCompilerAllows providing an alias name for a
SupplierSource.This stops the configuration files from being littered with fully qualified class names of the
SupplierSourceclasses. This is anticipated to allow flexibility as the functionality evolves so that relocating/renaming classes does not require significant configuration changes.Typically this should not be used directly as the
SupplierSourceServiceis the preferred means to provideSupplierSourcealiases.- Specified by:
addSupplierSourceAliasin classOfficeFloorCompiler- Type Parameters:
S-SupplierSourcetype.- Parameters:
alias- Alias name for theSupplierSource.supplierSourceClass-SupplierSourceClassfor the alias.
-
addAdministrationSourceAlias
public <E,F extends Enum<F>, void addAdministrationSourceAliasG extends Enum<G>, S extends AdministrationSource<E, F, G>> (String alias, Class<S> administrationSourceClass) Description copied from class:OfficeFloorCompilerAllows providing an alias name for a
AdministrationSource.This stops the configuration files from being littered with fully qualified class names of the
AdministrationSourceclasses. This is anticipated to allow flexibility as the functionality evolves so that relocating/renaming classes does not require significant configuration changes.Typically this should not be used directly as the
AdministrationSourceServiceis the preferred means to provideAdministrationSourcealiases.- Specified by:
addAdministrationSourceAliasin classOfficeFloorCompiler- Type Parameters:
E- Extension interface type.F-Flowkeys for theAdministration.G-Governancekeys for theAdministration.S-AdministrationSourcetype.- Parameters:
alias- Alias name for theAdministrationSource.administrationSourceClass-AdministrationSourceClassfor the alias.
-
addGovernanceSourceAlias
public <I,F extends Enum<F>, void addGovernanceSourceAliasS extends GovernanceSource<I, F>> (String alias, Class<S> governanceSourceClass) Description copied from class:OfficeFloorCompilerAllows providing an alias name for a
GovernanceSource.This stops the configuration files from being littered with fully qualified class names of the
GovernanceSourceclasses. This is anticipated to allow flexibility as the functionality evolves so that relocating/renaming classes does not require significant configuration changes.Typically this should not be used directly as the
GovernanceSourceServiceis the preferred means to provideGovernanceSourcealiases.- Specified by:
addGovernanceSourceAliasin classOfficeFloorCompiler- Type Parameters:
I- Extension interface type.F-Flowtype keys.S-GovernanceSourcetype.- Parameters:
alias- Alias name for theGovernanceSource.governanceSourceClass-GovernanceSourceClassfor the alias.
-
addTeamSourceAlias
Description copied from class:OfficeFloorCompilerAllows providing an alias name for a
TeamSource.This stops the configuration files from being littered with fully qualified class names of the
TeamSourceclasses. This is anticipated to allow flexibility as the functionality evolves so that relocating/renaming classes does not require significant configuration changes.Typically this should not be used directly as the
TeamSourceServiceis the preferred means to provideTeamSourcealiases.- Specified by:
addTeamSourceAliasin classOfficeFloorCompiler- Type Parameters:
S-TeamSourcetype.- Parameters:
alias- Alias name for theTeamSource.teamSourceClass-TeamSourceClassfor the alias.
-
addProfiler
Description copied from class:OfficeFloorCompiler- Specified by:
addProfilerin classOfficeFloorCompiler- Parameters:
officeName- Name ofOfficeto be profiled.profiler-Profilerfor theOffice.
-
setOverridePropertiesDirectory
Description copied from class:OfficeFloorCompilerSpecifies a directory containing override properties.
The files within the directory are properties files with the naming convention: <fully-qualified-name>.properties
- Specified by:
setOverridePropertiesDirectoryin classOfficeFloorCompiler- Parameters:
propertiesDirectory- Directory containing the override properties.
-
addOfficeFloorListener
Description copied from class:OfficeFloorCompilerAdds anOfficeFloorListener.- Specified by:
addOfficeFloorListenerin classOfficeFloorCompiler- Parameters:
officeFloorListener-OfficeFloorListener.
-
addAutoWireStateManagerVisitor
Description copied from class:OfficeFloorCompilerAdds anAutoWireStateManagerVisitor.- Specified by:
addAutoWireStateManagerVisitorin classOfficeFloorCompiler- Parameters:
autoWireStateManagerVisitor-AutoWireStateManagerVisitor.
-
createPropertyList
Description copied from class:OfficeFloorCompilerCreates a new emptyPropertyList.- Specified by:
createPropertyListin interfaceNodeContext- Specified by:
createPropertyListin classOfficeFloorCompiler- Returns:
- New empty
PropertyList.
-
createRootSourceContext
Description copied from class:OfficeFloorCompilerCreates a rootSourceContext.- Specified by:
createRootSourceContextin classOfficeFloorCompiler- Returns:
- Root
SourceContext.
-
createAutoWirer
public <N extends Node> AutoWirer<N> createAutoWirer(Class<N> nodeType, AutoWireDirection direction) Description copied from interface:NodeContextCreates a newAutoWirer.- Specified by:
createAutoWirerin interfaceNodeContext- Type Parameters:
N- Type ofNode.- Parameters:
nodeType-Classtype ofNode.direction-AutoWireDirection.- Returns:
- New
AutoWirer.
-
getTypeLoader
Description copied from class:OfficeFloorCompilerObtains theTypeLoader.- Specified by:
getTypeLoaderin classOfficeFloorCompiler- Returns:
TypeLoader.
-
getOfficeFloorLoader
Description copied from class:OfficeFloorCompilerObtains theOfficeFloorLoader.- Specified by:
getOfficeFloorLoaderin classOfficeFloorCompiler- Returns:
OfficeFloorLoader.
-
getOfficeLoader
Description copied from class:OfficeFloorCompilerObtains theOfficeLoader.- Specified by:
getOfficeLoaderin classOfficeFloorCompiler- Returns:
OfficeLoader.
-
getSectionLoader
Description copied from class:OfficeFloorCompilerObtains theSectionLoader.- Specified by:
getSectionLoaderin classOfficeFloorCompiler- Returns:
SectionLoader.
-
getManagedFunctionLoader
Description copied from class:OfficeFloorCompilerObtains theManagedFunctionLoader.- Specified by:
getManagedFunctionLoaderin classOfficeFloorCompiler- Returns:
ManagedFunctionLoader.
-
getManagedObjectLoader
Description copied from class:OfficeFloorCompilerObtains theManagedObjectLoader.- Specified by:
getManagedObjectLoaderin classOfficeFloorCompiler- Returns:
ManagedObjectLoader.
-
getSupplierLoader
Description copied from class:OfficeFloorCompilerObtains theSupplierLoader.- Specified by:
getSupplierLoaderin classOfficeFloorCompiler- Returns:
SupplierLoader.
-
getGovernanceLoader
Description copied from class:OfficeFloorCompilerObtains theGovernanceLoader.- Specified by:
getGovernanceLoaderin classOfficeFloorCompiler- Returns:
GovernanceLoader.
-
getManagedObjectPoolLoader
Description copied from class:OfficeFloorCompilerObtains theManagedObjectPoolLoader.- Specified by:
getManagedObjectPoolLoaderin classOfficeFloorCompiler- Returns:
ManagedObjectPoolLoader.
-
getAdministrationLoader
Description copied from class:OfficeFloorCompilerObtains theAdministrationLoader.- Specified by:
getAdministrationLoaderin classOfficeFloorCompiler- Returns:
AdministrationLoader.
-
getTeamLoader
Description copied from class:OfficeFloorCompilerObtains theTeamLoader.- Specified by:
getTeamLoaderin classOfficeFloorCompiler- Returns:
TeamLoader.
-
getExecutiveLoader
Description copied from class:OfficeFloorCompilerObtains theExecutiveLoader.- Specified by:
getExecutiveLoaderin classOfficeFloorCompiler- Returns:
ExecutiveLoader.
-
configureOfficeFloorCompiler
public boolean configureOfficeFloorCompiler()Description copied from class:OfficeFloorCompilerRuns the
OfficeFloorCompilerConfigurerinstances to configure thisOfficeFloorCompiler.This is always run before a compile. However, may not be run for loaders. This allows running if just loading types.
- Specified by:
configureOfficeFloorCompilerin classOfficeFloorCompiler- Returns:
trueif configured.falsewith issue reported to theCompilerIssues.
-
compile
Description copied from class:OfficeFloorCompilerCompiles and builds theOfficeFloor.- Specified by:
compilein classOfficeFloorCompiler- Parameters:
officeFloorName- Name of theOfficeFloor.- Returns:
OfficeFloorornullif issues in compiling which are reported to theCompilerIssues.
-
loadManagedFunctionType
public FunctionNamespaceType loadManagedFunctionType(String managedFunctionSourceName, String managedFunctionSourceClassName, PropertyList properties) Description copied from interface:TypeLoaderLoads theFunctionNamespaceType.- Specified by:
loadManagedFunctionTypein interfaceTypeLoader- Parameters:
managedFunctionSourceName- Name ofManagedFunctionSource.managedFunctionSourceClassName-ManagedFunctionSourceclass name.properties-PropertyList.- Returns:
FunctionNamespaceType.
-
loadManagedObjectType
public ManagedObjectType<?> loadManagedObjectType(String managedObjectSourceName, String managedObjectSourceClassName, PropertyList properties) Description copied from interface:TypeLoaderLoads theManagedObjectType.- Specified by:
loadManagedObjectTypein interfaceTypeLoader- Parameters:
managedObjectSourceName- Name of theManagedObjectSource.managedObjectSourceClassName-ManagedObjectSourceclass name.properties-PropertyList.- Returns:
ManagedObjectType.
-
getRootSourceContext
Description copied from interface:NodeContextObtains the rootSourceContext.- Specified by:
getRootSourceContextin interfaceNodeContext- Returns:
- Root
SourceContext.
-
resetRootSourceContext
protected void resetRootSourceContext()Resets the rootSourceContext. -
createCompileContext
Description copied from interface:NodeContextCreates theCompileContext.- Specified by:
createCompileContextin interfaceNodeContext- Returns:
CompileContext.
-
getCompilerIssues
Description copied from class:OfficeFloorCompilerObtains theCompilerIssues.- Specified by:
getCompilerIssuesin interfaceNodeContext- Specified by:
getCompilerIssuesin classOfficeFloorCompiler- Returns:
CompilerIssues.
-
getOfficeFrame
Description copied from interface:NodeContextObtains theOfficeFrame.- Specified by:
getOfficeFramein interfaceNodeContext- Returns:
OfficeFrame.
-
initiateOfficeFloorBuilder
Description copied from interface:NodeContextInitiates theOfficeFloorBuilderwith theOfficeFloorCompilerdetails.- Specified by:
initiateOfficeFloorBuilderin interfaceNodeContext- Parameters:
builder-OfficeFloorBuilder.
-
additionalProfiles
Description copied from interface:NodeContextObtains the additional profiles.- Specified by:
additionalProfilesin interfaceNodeContext- Parameters:
officeNode-OfficeNodeproviding additional profiles. May benull.- Returns:
- Additional profiles.
-
overrideProperties
public PropertyList overrideProperties(Node node, String qualifiedName, PropertyList originalProperties) Description copied from interface:NodeContextOverrides thePropertyList.- Specified by:
overridePropertiesin interfaceNodeContext- Parameters:
node-Noderequiring the overriddenPropertyList.qualifiedName- Qualified name.originalProperties- OriginalPropertyList.- Returns:
- Overridden
PropertyList.
-
overrideProperties
public PropertyList overrideProperties(Node node, String qualifiedName, OverrideProperties overrideProperties, PropertyList originalProperties) Description copied from interface:NodeContextOverrides thePropertyList.- Specified by:
overridePropertiesin interfaceNodeContext- Parameters:
node-Noderequiring the overriddenPropertyList.qualifiedName- Qualified name.overrideProperties-OverrideProperties. May benull.originalProperties- OriginalPropertyList.- Returns:
- Overridden
PropertyList.
-
getOfficeFloorSourceClass
public <S extends OfficeFloorSource> Class<S> getOfficeFloorSourceClass(String officeFloorSourceClassName, OfficeFloorNode node) Description copied from interface:NodeContextObtains theOfficeFloorSourceclass.- Specified by:
getOfficeFloorSourceClassin interfaceNodeContext- Type Parameters:
S-OfficeFloorSourcetype.- Parameters:
officeFloorSourceClassName-Classname of theOfficeFloorSource.node-Noderequiring theOfficeFloorSourceclass.- Returns:
OfficeFloorSourceclass, ornullwith issues reported to theCompilerIssuesof thisNodeContext.
-
getOfficeFloorLoader
Description copied from interface:NodeContextObtains theOfficeFloorLoader.- Specified by:
getOfficeFloorLoaderin interfaceNodeContext- Parameters:
node-Noderequiring theOfficeFloorLoader.- Returns:
OfficeFloorLoader.
-
createOfficeFloorNode
public OfficeFloorNode createOfficeFloorNode(String officeFloorSourceClassName, OfficeFloorSource officeFloorSource, String officeFloorLocation) Description copied from interface:NodeContextCreates theOfficeFloorNode.- Specified by:
createOfficeFloorNodein interfaceNodeContext- Parameters:
officeFloorSourceClassName-Classname of theOfficeFloorSource.officeFloorSource- Optional instantiatedOfficeFloorSource. May benull.officeFloorLocation- Location of theOfficeFloor.- Returns:
OfficeFloorNode.
-
getOfficeSourceClass
public <S extends OfficeSource> Class<S> getOfficeSourceClass(String officeSourceName, OfficeNode node) Description copied from interface:NodeContextObtains theOfficeSourceclass.- Specified by:
getOfficeSourceClassin interfaceNodeContext- Type Parameters:
S-OfficeSourcetype.- Parameters:
officeSourceName-OfficeSourceclass name or an alias to anOfficeSourceclass.node-Noderequiring theOfficeSourceclass.- Returns:
OfficeSourceclass, ornullwith issues reported to theCompilerIssuesof thisNodeContext.
-
getOfficeLoader
Description copied from interface:NodeContextObtains theOfficeLoader.- Specified by:
getOfficeLoaderin interfaceNodeContext- Parameters:
node-Noderequiring theOfficeLoader.- Returns:
OfficeLoader.
-
createOfficeNode
Description copied from interface:NodeContextCreates theOfficeNode.- Specified by:
createOfficeNodein interfaceNodeContext- Parameters:
officeName- Name of theOfficeNode.officeFloor- ParentOfficeFloorNode.- Returns:
OfficeNode.
-
createOfficeInputNode
Description copied from interface:NodeContextCreates theOfficeInputNode.- Specified by:
createOfficeInputNodein interfaceNodeContext- Parameters:
officeInputName- Name of theOfficeInputNode.office- ParentOfficeNode.- Returns:
OfficeInputNode.
-
createOfficeObjectNode
Description copied from interface:NodeContextCreates theOfficeObjectNode.- Specified by:
createOfficeObjectNodein interfaceNodeContext- Parameters:
objectName- Name of theOfficeObjectNode.office- ParentOfficeNode.- Returns:
OfficeObjectNode.
-
createOfficeOutputNode
Description copied from interface:NodeContextCreates theOfficeOutputNode.- Specified by:
createOfficeOutputNodein interfaceNodeContext- Parameters:
name- Name of theOfficeOutputNode.office- ParentOfficeNode.- Returns:
OfficeOutputNode.
-
createOfficeStartNode
Description copied from interface:NodeContextCreates theOfficeStartNode.- Specified by:
createOfficeStartNodein interfaceNodeContext- Parameters:
startName- Name of theOfficeStartNode.office- ParentOfficeNode.- Returns:
OfficeStartNode.
-
createOfficeTeamNode
Description copied from interface:NodeContextCreates theOfficeTeamNode.- Specified by:
createOfficeTeamNodein interfaceNodeContext- Parameters:
officeTeamName- Name of theOfficeTeamNode.office- ParentOfficeNode.- Returns:
OfficeTeamNode.
-
createEscalationNode
Description copied from interface:NodeContextCreates anEscalationNode.- Specified by:
createEscalationNodein interfaceNodeContext- Parameters:
escalationType-Escalationtype.officeNode-OfficeNodecontaining thisEscalation.- Returns:
EscalationNode.
-
getSectionSourceClass
public <S extends SectionSource> Class<S> getSectionSourceClass(String sectionSourceName, SectionNode node) Description copied from interface:NodeContextObtains theSectionSourceclass.- Specified by:
getSectionSourceClassin interfaceNodeContext- Type Parameters:
S-SectionSourcetype.- Parameters:
sectionSourceName-SectionSourceclass name or an alias to anSectionSourceclass.node-Noderequiring theSectionSourceclass.- Returns:
SectionSourceclass, ornullwith issues reported to theCompilerIssuesof thisNodeContext.
-
getSectionLoader
Description copied from interface:NodeContextObtains theSectionLoader.- Specified by:
getSectionLoaderin interfaceNodeContext- Parameters:
sectionNode-SectionNoderequiring theSectionLoader.- Returns:
SectionLoader.
-
getSectionLoader
Description copied from interface:NodeContextObtains theSectionLoader.- Specified by:
getSectionLoaderin interfaceNodeContext- Parameters:
officeNode-OfficeNoderequiring theSectionLoader.- Returns:
SectionLoader.
-
createSectionInputNode
Description copied from interface:NodeContextCreates theSectionInputNode.- Specified by:
createSectionInputNodein interfaceNodeContext- Parameters:
inputName- Name of theSectionInputNode.section- ParentSectionNode.- Returns:
SectionInputNode.
-
createSectionObjectNode
Description copied from interface:NodeContextCreates theSectionObjectNode.- Specified by:
createSectionObjectNodein interfaceNodeContext- Parameters:
objectName- Name of theSectionObjectNode.section- ParentSectionNode.- Returns:
SectionObjectNode.
-
createSectionOutputNode
Description copied from interface:NodeContextCreates theSectionOutputNode.- Specified by:
createSectionOutputNodein interfaceNodeContext- Parameters:
outputName- Name of theSectionOutputNode.section- ParentSectionNode.- Returns:
SectionOutputNode.
-
createSectionNode
Description copied from interface:NodeContextCreates aSectionNode.- Specified by:
createSectionNodein interfaceNodeContext- Parameters:
sectionName- Name of theOfficeSection.parentSection- ParentSectionNodecontaining thisOfficeSection.- Returns:
SectionNode.
-
createSectionNode
Description copied from interface:NodeContextCreates a top levelSectionNodewithin theOfficeNode.- Specified by:
createSectionNodein interfaceNodeContext- Parameters:
sectionName- Name of theOfficeSection.office-OfficeNodecontaining thisOfficeSection.- Returns:
SectionNode.
-
getManagedFunctionSourceClass
public <S extends ManagedFunctionSource> Class<S> getManagedFunctionSourceClass(String managedFunctionSourceName, FunctionNamespaceNode node) Description copied from interface:NodeContextObtains theManagedFunctionSourceclass.- Specified by:
getManagedFunctionSourceClassin interfaceNodeContext- Type Parameters:
S-ManagedFunctionSourcetype.- Parameters:
managedFunctionSourceName-ManagedFunctionSourceclass name or an alias to aManagedFunctionSourceclass.node-Noderequiring theManagedFunctionSourceclass.- Returns:
ManagedFunctionSourceclass, ornullwith issues reported to theCompilerIssuesof thisNodeContext.
-
getManagedFunctionLoader
public ManagedFunctionLoader getManagedFunctionLoader(FunctionNamespaceNode node, boolean isLoadingType) Description copied from interface:NodeContextObtains theManagedFunctionLoader.- Specified by:
getManagedFunctionLoaderin interfaceNodeContext- Parameters:
node-Noderequiring theManagedFunctionLoader.isLoadingType- Indicates using to load type.- Returns:
ManagedFunctionLoader.
-
getManagedObjectSourceClass
public <S extends ManagedObjectSource<?,?>> Class<S> getManagedObjectSourceClass(String managedObjectSourceName, ManagedObjectSourceNode node) Description copied from interface:NodeContextObtains theManagedObjectSourceclass.- Specified by:
getManagedObjectSourceClassin interfaceNodeContext- Type Parameters:
S-ManagedObjectSourcetype.- Parameters:
managedObjectSourceName-ManagedObjectSourceclass name or an alias to aManagedObjectSourceclass.node-Nodefor reporting issues.- Returns:
ManagedObjectSourceclass, ornullwith issues reported to theCompilerIssuesof thisNodeContext.
-
getManagedObjectLoader
Description copied from interface:NodeContextObtains theManagedObjectLoader.- Specified by:
getManagedObjectLoaderin interfaceNodeContext- Parameters:
node-Noderequiring theManagedObjectLoader.- Returns:
ManagedObjectLoader.
-
createInputManagedNode
public InputManagedObjectNode createInputManagedNode(String inputManagedObjectName, String inputObjectType, OfficeFloorNode officeFloor) Description copied from interface:NodeContextCreates anInputManagedObjectNode.- Specified by:
createInputManagedNodein interfaceNodeContext- Parameters:
inputManagedObjectName- Name of theInputManagedObjectNode.inputObjectType- Input object type.officeFloor- ParentOfficeFloorNode.- Returns:
InputManagedObjectNode.
-
createManagedObjectDependencyNode
public ManagedObjectDependencyNode createManagedObjectDependencyNode(String dependencyName, ManagedObjectNode managedObject) Description copied from interface:NodeContextCreates aManagedObjectDependencyNodefor aManagedObjectNode.- Specified by:
createManagedObjectDependencyNodein interfaceNodeContext- Parameters:
dependencyName- Name of theManagedObjectDependencyNode.managedObject- ParentManagedObjectNode.- Returns:
ManagedObjectDependencyNode.
-
createManagedObjectDependencyNode
public ManagedObjectDependencyNode createManagedObjectDependencyNode(String dependencyName, ManagedObjectSourceNode managedObjectSource) Description copied from interface:NodeContextCreates aManagedObjectDependencyNodefor aInputManagedObjectNode.- Specified by:
createManagedObjectDependencyNodein interfaceNodeContext- Parameters:
dependencyName- Name of theManagedObjectDependencyNode.managedObjectSource- ParentManagedObjectSourceNode.- Returns:
ManagedObjectDependencyNode.
-
createManagedObjectFunctionDependencyNode
public ManagedObjectFunctionDependencyNode createManagedObjectFunctionDependencyNode(String dependencyName, ManagedObjectSourceNode managedObjectSource) Description copied from interface:NodeContextCreates aManagedObjectFunctionDependencyNodefor aManagedObjectSourceNode.- Specified by:
createManagedObjectFunctionDependencyNodein interfaceNodeContext- Parameters:
dependencyName- Name of theManagedObjectFunctionDependencyNode.managedObjectSource- ParentManagedObjectSourceNode.- Returns:
ManagedObjectFunctionDependencyNode.
-
createManagedObjectFlowNode
public ManagedObjectFlowNode createManagedObjectFlowNode(String flowName, ManagedObjectSourceNode managedObjectSource) Description copied from interface:NodeContextCreates theManagedObjectFlowNode.- Specified by:
createManagedObjectFlowNodein interfaceNodeContext- Parameters:
flowName- Name of theManagedObjectFlowNode.managedObjectSource- ParentManagedObjectSourceNode.- Returns:
ManagedObjectFlowNode.
-
createManagedObjectTeamNode
public ManagedObjectTeamNode createManagedObjectTeamNode(String teamName, ManagedObjectSourceNode managedObjectSource) Description copied from interface:NodeContextCreates theManagedObjectTeamNode.- Specified by:
createManagedObjectTeamNodein interfaceNodeContext- Parameters:
teamName- Name of theManagedObjectTeamNode.managedObjectSource- ParentManagedObjectSourceNode.- Returns:
ManagedObjectTeamNode.
-
createManagedObjectExecutionStrategyNode
public ManagedObjectExecutionStrategyNode createManagedObjectExecutionStrategyNode(String executionStrategyName, ManagedObjectSourceNode managedObjectSource) Description copied from interface:NodeContextCreates theManagedObjectExecutionStrategyNode.- Specified by:
createManagedObjectExecutionStrategyNodein interfaceNodeContext- Parameters:
executionStrategyName- Name of theManagedObjectExecutionStrategyNode.managedObjectSource- ParentManagedObjectSourceNode.- Returns:
ManagedObjectExecutionStrategyNode.
-
createManagingOfficeNode
Description copied from interface:NodeContextCreates theManagingOfficeNode.- Specified by:
createManagingOfficeNodein interfaceNodeContext- Parameters:
managedObjectSource- ParentManagedObjectSourceNode.- Returns:
ManagingOfficeNode.
-
createManagedObjectNode
Description copied from interface:NodeContextCreates theManagedObjectNode.- Specified by:
createManagedObjectNodein interfaceNodeContext- Parameters:
managedObjectName- Name of theManagedObjectNode.section- ParentSectionNode.- Returns:
ManagedObjectNode.
-
createManagedObjectNode
Description copied from interface:NodeContextCreates theManagedObjectNode.- Specified by:
createManagedObjectNodein interfaceNodeContext- Parameters:
managedObjectName- Name of theManagedObjectNode.office- ParentOfficeNode.- Returns:
ManagedObjectNode.
-
createManagedObjectNode
public ManagedObjectNode createManagedObjectNode(String managedObjectName, OfficeFloorNode officeFloor) Description copied from interface:NodeContextCreates theManagedObjectNode.- Specified by:
createManagedObjectNodein interfaceNodeContext- Parameters:
managedObjectName- Name of theManagedObjectNode.officeFloor- ParentOfficeFloorNode.- Returns:
ManagedObjectNode.
-
createManagedObjectSourceNode
public ManagedObjectSourceNode createManagedObjectSourceNode(String managedObjectSourceName, SectionNode section) Description copied from interface:NodeContextCreates aManagedObjectSourceNode.- Specified by:
createManagedObjectSourceNodein interfaceNodeContext- Parameters:
managedObjectSourceName- Name of theManagedObjectSourceNode.section- ParentSectionNode.- Returns:
ManagedObjectSourceNode.
-
createManagedObjectSourceNode
public ManagedObjectSourceNode createManagedObjectSourceNode(String managedObjectSourceName, OfficeNode office) Description copied from interface:NodeContextCreates aManagedObjectSourceNode.- Specified by:
createManagedObjectSourceNodein interfaceNodeContext- Parameters:
managedObjectSourceName- Name of theManagedObjectSourceNode.office- ParentOfficeNode.- Returns:
ManagedObjectSourceNode.
-
createManagedObjectSourceNode
public ManagedObjectSourceNode createManagedObjectSourceNode(String managedObjectSourceName, SuppliedManagedObjectSourceNode suppliedManagedObject) Description copied from interface:NodeContextCreates aManagedObjectSourceNode.- Specified by:
createManagedObjectSourceNodein interfaceNodeContext- Parameters:
managedObjectSourceName- Name of theManagedObjectSourceNode.suppliedManagedObject- ParentSuppliedManagedObjectSourceNode.- Returns:
ManagedObjectSourceNode.
-
createManagedObjectSourceNode
public ManagedObjectSourceNode createManagedObjectSourceNode(String managedObjectSourceName, OfficeFloorNode officeFloor) Description copied from interface:NodeContextCreates aManagedObjectSourceNode.- Specified by:
createManagedObjectSourceNodein interfaceNodeContext- Parameters:
managedObjectSourceName- Name of theManagedObjectSourceNode.officeFloor- ParentOfficeFloorNode.- Returns:
ManagedObjectSourceNode.
-
getManagedObjectPoolSourceClass
public <S extends ManagedObjectPoolSource> Class<S> getManagedObjectPoolSourceClass(String managedObjectPoolSourceName, ManagedObjectPoolNode node) Description copied from interface:NodeContextObtains theManagedObjectPoolSourceclass.- Specified by:
getManagedObjectPoolSourceClassin interfaceNodeContext- Type Parameters:
S-ManagedObjectPoolSourcetype.- Parameters:
managedObjectPoolSourceName-ManagedObjectPoolSourceclass name or an alias to aManagedObjectPoolSourceclass.node-Nodefor reporting issues.- Returns:
ManagedObjectPoolSourceclass, ornullwith issues reported to theCompilerIssuesof thisNodeContext.
-
getManagedObjectPoolLoader
public ManagedObjectPoolLoader getManagedObjectPoolLoader(ManagedObjectPoolNode node, OfficeNode officeNode, boolean isLoadingType) Description copied from interface:NodeContextObtains theManagedObjectPoolLoader.- Specified by:
getManagedObjectPoolLoaderin interfaceNodeContext- Parameters:
node-Noderequiring theManagedObjectPoolLoader.officeNode-OfficeNodecontaining theManagedObjectPool. May benullif not contained within anOfficeNode.isLoadingType- Indicates whether using to load type.- Returns:
ManagedObjectPoolLoader.
-
createManagedObjectPoolNode
public ManagedObjectPoolNode createManagedObjectPoolNode(String managedObjectPoolName, OfficeFloorNode officeFloorNode) Description copied from interface:NodeContextCreates theManagedObjectPoolNode.- Specified by:
createManagedObjectPoolNodein interfaceNodeContext- Parameters:
managedObjectPoolName- Name of theManagedObjectPoolNode.officeFloorNode- ParentOfficeFloorNode.- Returns:
ManagedObjectPoolNode.
-
createManagedObjectPoolNode
public ManagedObjectPoolNode createManagedObjectPoolNode(String managedObjectPoolName, OfficeNode officeNode) Description copied from interface:NodeContextCreates theManagedObjectPoolNode.- Specified by:
createManagedObjectPoolNodein interfaceNodeContext- Parameters:
managedObjectPoolName- Name of theManagedObjectPoolNode.officeNode- ParentOfficeNode.- Returns:
ManagedObjectPoolNode.
-
createManagedObjectPoolNode
public ManagedObjectPoolNode createManagedObjectPoolNode(String managedObjectPoolName, SectionNode sectionNode) Description copied from interface:NodeContextCreates theManagedObjectPoolNode.- Specified by:
createManagedObjectPoolNodein interfaceNodeContext- Parameters:
managedObjectPoolName- Name of theManagedObjectPoolNode.sectionNode- ParentSectionNode.- Returns:
ManagedObjectPoolNode.
-
getSupplierSourceClass
public <S extends SupplierSource> Class<S> getSupplierSourceClass(String supplierSourceClassName, SupplierNode node) Description copied from interface:NodeContextObtains theSupplierSourceclass.- Specified by:
getSupplierSourceClassin interfaceNodeContext- Type Parameters:
S-SupplierSourcetype.- Parameters:
supplierSourceClassName-SupplierSourceclass name or an alias to aSupplierSourceclass.node-Noderequiring theSupplierSourceclass.- Returns:
SupplierSourceclass, ornullwith issues reported to theCompilerIssuesof thisNodeContext.
-
getSupplierLoader
Description copied from interface:NodeContextObtains theSupplierLoader.- Specified by:
getSupplierLoaderin interfaceNodeContext- Parameters:
node-Noderequiring theSupplierLoader.isLoadingType- Indicates if using to load type.- Returns:
SupplierLoader.
-
createSupplierThreadLocalNode
public SupplierThreadLocalNode createSupplierThreadLocalNode(String qualifier, String type, SupplierNode supplier) Description copied from interface:NodeContextCreates theSupplierThreadLocalNode.- Specified by:
createSupplierThreadLocalNodein interfaceNodeContext- Parameters:
qualifier- Qualifier. May benullif no qualifier.type- Type.supplier- ParentSupplierNode.- Returns:
SupplierThreadLocalNode.
-
createSuppliedManagedObjectSourceNode
public SuppliedManagedObjectSourceNode createSuppliedManagedObjectSourceNode(String qualifier, String type, SupplierNode supplier) Description copied from interface:NodeContextCreates theSuppliedManagedObjectSourceNode.- Specified by:
createSuppliedManagedObjectSourceNodein interfaceNodeContext- Parameters:
qualifier- Qualifier. May benullif no qualifier.type- Type.supplier- ParentSupplierNode.- Returns:
SuppliedManagedObjectSourceNode.
-
createSupplierNode
Description copied from interface:NodeContextCreates theSupplierNode.- Specified by:
createSupplierNodein interfaceNodeContext- Parameters:
supplierName- Name of theSupplierNode.officeFloor- ParentOfficeFloorNode.- Returns:
SupplierNode.
-
createSupplierNode
Description copied from interface:NodeContextCreates theSupplierNode.- Specified by:
createSupplierNodein interfaceNodeContext- Parameters:
supplierName- Name of theSupplierNode.office- ParentOffice.- Returns:
SupplierNode.
-
getAdministrationSourceClass
public <S extends AdministrationSource<?,?, Class<S> getAdministrationSourceClass?>> (String administrationSourceName, AdministrationNode node) Description copied from interface:NodeContextObtains theAdministrationSourceclass.- Specified by:
getAdministrationSourceClassin interfaceNodeContext- Type Parameters:
S-AdministrationSourcetype.- Parameters:
administrationSourceName-AdministrationSourceclass name or an alias to anAdministrationSourceclass.node-Noderequiring theAdministrationSourceclass.- Returns:
AdministrationSourceclass, ornullwith issues reported to theCompilerIssuesof thisNodeContext.
-
getAdministrationLoader
Description copied from interface:NodeContextObtains theAdministrationLoader.- Specified by:
getAdministrationLoaderin interfaceNodeContext- Parameters:
node-Noderequiring theAdministrationLoader.isLoadingType- Indicates if using to load type.- Returns:
AdministrationLoader.
-
createAdministrationNode
Description copied from interface:NodeContextCreates aAdministrationNode.- Specified by:
createAdministrationNodein interfaceNodeContext- Parameters:
administrationName- Name of theAdministration.office-OfficeNodecontaining thisAdministration.- Returns:
AdministrationNode.
-
getGovernanceSourceClass
public <S extends GovernanceSource<?,?>> Class<S> getGovernanceSourceClass(String governanceSourceName, GovernanceNode node) Description copied from interface:NodeContextObtains theGovernanceSourceclass.- Specified by:
getGovernanceSourceClassin interfaceNodeContext- Type Parameters:
S-GovernanceSourcetype.- Parameters:
governanceSourceName-GovernanceSourceclass name or an alias to anGovernanceSourceclass.node-Noderequiring theGovernanceSourceclass.- Returns:
GovernanceSourceclass, ornullwith issues reported to theCompilerIssuesof thisNodeContext.
-
getGovernanceLoader
Description copied from interface:NodeContextObtains theGovernanceLoader.- Specified by:
getGovernanceLoaderin interfaceNodeContext- Parameters:
node-Noderequiring theGovernanceLoader.isLoadingType- Indicates using for loading type.- Returns:
GovernanceLoader.
-
createGovernanceNode
Description copied from interface:NodeContextCreates aGovernanceNode.- Specified by:
createGovernanceNodein interfaceNodeContext- Parameters:
governanceName- Name of theGovernance.office-OfficeNodecontaining thisGovernance.- Returns:
GovernanceNode.
-
getTeamSourceClass
Description copied from interface:NodeContextObtains theTeamSourceclass.- Specified by:
getTeamSourceClassin interfaceNodeContext- Type Parameters:
S-TeamSourcetype.- Parameters:
teamSourceName-TeamSourceclass name or an alias to aTeamSourceclass.node-Noderequiring theTeamSourceclass.- Returns:
TeamSourceclass, ornullwith issues reported to theCompilerIssuesof thisNodeContext.
-
getTeamLoader
Description copied from interface:NodeContextObtains theTeamLoader.- Specified by:
getTeamLoaderin interfaceNodeContext- Parameters:
node-Noderequiring theTeamLoader.- Returns:
TeamLoader.
-
createTeamNode
Description copied from interface:NodeContextCreates theTeamNode.- Specified by:
createTeamNodein interfaceNodeContext- Parameters:
teamName- Name of theTeamNode.officeFloor- ParentOfficeFloorNode.- Returns:
TeamNode.
-
getExecutiveSourceClass
public <S extends ExecutiveSource> Class<S> getExecutiveSourceClass(String executiveSourceClassName, ExecutiveNode node) Description copied from interface:NodeContextObtains theExecutiveSourceclass.- Specified by:
getExecutiveSourceClassin interfaceNodeContext- Type Parameters:
S-ExecutiveSourcetype.- Parameters:
executiveSourceClassName-ExecutiveSourceclass name or an alias to aExecutiveSourceclass.node-Noderequiring theExecutiveSourceclass.- Returns:
ExecutiveSourceclass, ornullwith issues reported to theCompilerIssuesof thisNodeContext.
-
getExecutiveLoader
Description copied from interface:NodeContextObtains theExecutiveNode.- Specified by:
getExecutiveLoaderin interfaceNodeContext- Parameters:
node-Noderequiring theExecutiveLoader.- Returns:
ExecutiveLoader.
-
createExecutiveNode
Description copied from interface:NodeContextCreates theExecutiveNode.- Specified by:
createExecutiveNodein interfaceNodeContext- Parameters:
officeFloor- ParentOfficeFloorNode.- Returns:
ExecutiveNode.
-
createExecutionStrategyNode
public ExecutionStrategyNode createExecutionStrategyNode(String executionStrategyName, ExecutiveNode executive) Description copied from interface:NodeContextCreates theExecutionStrategyNode.- Specified by:
createExecutionStrategyNodein interfaceNodeContext- Parameters:
executionStrategyName- Name of theExecutionStrategy.executive- ParentExecutiveNode.- Returns:
ExecutionStrategyNode.
-
createFunctionFlowNode
public FunctionFlowNode createFunctionFlowNode(String flowName, boolean isEscalation, ManagedFunctionNode function) Description copied from interface:NodeContextCreates theFunctionFlowNode.- Specified by:
createFunctionFlowNodein interfaceNodeContext- Parameters:
flowName- Name of theFunctionFlowNode.isEscalation- Indicates if isEscalation.function- ParentManagedFunctionNode.- Returns:
FunctionFlowNode.
-
createFunctionObjectNode
public FunctionObjectNode createFunctionObjectNode(String objectName, ManagedFunctionNode functionNode) Description copied from interface:NodeContextCreates theFunctionObjectNode.- Specified by:
createFunctionObjectNodein interfaceNodeContext- Parameters:
objectName- Name of theFunctionObjectNode.functionNode- ParentManagedFunctionNode.- Returns:
FunctionObjectNode.
-
createResponsibleTeamNode
Description copied from interface:NodeContextCreates theResponsibleTeamNode.- Specified by:
createResponsibleTeamNodein interfaceNodeContext- Parameters:
teamName- Name of theResponsibleTeamNode.function- ParentManagedFunctionNode.- Returns:
ResponsibleTeamNode.
-
createFunctionNode
Description copied from interface:NodeContextCreates theManagedFunctionNode.- Specified by:
createFunctionNodein interfaceNodeContext- Parameters:
functionName- Name of theManagedFunctionNode.section- ParentSectionNode.- Returns:
ManagedFunctionNode.
-
createFunctionNamespaceNode
public FunctionNamespaceNode createFunctionNamespaceNode(String functionNamespaceName, SectionNode section) Description copied from interface:NodeContextCreates theFunctionNamespaceNode.- Specified by:
createFunctionNamespaceNodein interfaceNodeContext- Parameters:
functionNamespaceName- Name of theFunctionNamespaceNode.section- ParentSectionNode.- Returns:
FunctionNamespaceNode.
-