Class OfficeFloorCompilerAdapter
- java.lang.Object
-
- net.officefloor.compile.OfficeFloorCompiler
-
- net.officefloor.compile.impl.adapt.OfficeFloorCompilerAdapter
-
- All Implemented Interfaces:
Node
,PropertyConfigurable
public class OfficeFloorCompilerAdapter extends OfficeFloorCompiler
Adapts the implementing
OfficeFloorCompiler
to be used when theOfficeFloorCompiler
reference may be from a differentClassLoader
. Typically this occurs within the Eclipse plug-ins but is useful if wanting to run a different versions of theOfficeFloorCompiler
in the same JVM.This adapter reflectively calls on the implementation to achieve compatibility. Also, as this is loaded in the same
ClassLoader
as theOfficeFloorCompiler
it will always be assignable.- 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 Constructor Description OfficeFloorCompilerAdapter(java.lang.Object implementation, java.lang.ClassLoader clientClassLoader, java.lang.ClassLoader implClassLoader)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <E,F extends java.lang.Enum<F>,G extends java.lang.Enum<G>,S extends AdministrationSource<E,F,G>>
voidaddAdministrationSourceAlias(java.lang.String alias, java.lang.Class<S> administrationSourceClass)
Allows providing an alias name for aAdministrationSource
.void
addAutoWireStateManagerVisitor(AutoWireStateManagerVisitor autoWireStateManagerVisitor)
Adds anAutoWireStateManagerVisitor
.void
addEnvProperties()
Convenience method to add all theProperty
instances fromSystem.getenv()
.<I,F extends java.lang.Enum<F>,S extends GovernanceSource<I,F>>
voidaddGovernanceSourceAlias(java.lang.String alias, java.lang.Class<S> governanceSourceClass)
Allows providing an alias name for aGovernanceSource
.<S extends ManagedFunctionSource>
voidaddManagedFunctionSourceAlias(java.lang.String alias, java.lang.Class<S> managedFunctionSourceClass)
Allows providing an alias name for aManagedFunctionSource
.<S extends ManagedObjectPoolSource>
voidaddManagedObjectPoolSourceAlias(java.lang.String alias, java.lang.Class<S> managedObjectPoolSourceClass)
Allows providing an alias name for aManagedObjectPoolSource
.<D extends java.lang.Enum<D>,F extends java.lang.Enum<F>,S extends ManagedObjectSource<D,F>>
voidaddManagedObjectSourceAlias(java.lang.String alias, java.lang.Class<S> managedObjectSourceClass)
Allows providing an alias name for aManagedObjectSource
.void
addOfficeFloorListener(OfficeFloorListener officeFloorListener)
Adds anOfficeFloorListener
.<S extends OfficeSource>
voidaddOfficeSourceAlias(java.lang.String alias, java.lang.Class<S> officeSourceClass)
Allows providing an alias name for anOfficeSource
.void
addProfile(java.lang.String profile)
Adds a profile.void
addProfiler(java.lang.String officeName, Profiler profiler)
void
addProperty(java.lang.String name, java.lang.String value)
Adds aProperty
to configure the item.void
addResources(ResourceSource resourceSource)
Adds aResourceSource
.<S extends SectionSource>
voidaddSectionSourceAlias(java.lang.String alias, java.lang.Class<S> sectionSourceClass)
Allows providing an alias name for aSectionSource
.void
addSourceAliases()
Adds the aliases for the source classes.<S extends SupplierSource>
voidaddSupplierSourceAlias(java.lang.String alias, java.lang.Class<S> supplierSourceClass)
Allows providing an alias name for aSupplierSource
.void
addSystemProperties()
Convenience method to add all theProperty
instances fromSystem.getProperties()
.<S extends TeamSource>
voidaddTeamSourceAlias(java.lang.String alias, java.lang.Class<S> teamSourceClass)
Allows providing an alias name for aTeamSource
.OfficeFloor
compile(java.lang.String officeFloorName)
Compiles and builds theOfficeFloor
.boolean
configureOfficeFloorCompiler()
Runs theOfficeFloorCompilerConfigurer
instances to configure thisOfficeFloorCompiler
.PropertyList
createPropertyList()
Creates a new emptyPropertyList
.SourceContext
createRootSourceContext()
Creates a rootSourceContext
.AdministrationLoader
getAdministrationLoader()
Obtains theAdministrationLoader
.CompilerIssues
getCompilerIssues()
Obtains theCompilerIssues
.ExecutiveLoader
getExecutiveLoader()
Obtains theExecutiveLoader
.GovernanceLoader
getGovernanceLoader()
Obtains theGovernanceLoader
.ManagedFunctionLoader
getManagedFunctionLoader()
Obtains theManagedFunctionLoader
.ManagedObjectLoader
getManagedObjectLoader()
Obtains theManagedObjectLoader
.ManagedObjectPoolLoader
getManagedObjectPoolLoader()
Obtains theManagedObjectPoolLoader
.OfficeFloorLoader
getOfficeFloorLoader()
Obtains theOfficeFloorLoader
.OfficeLoader
getOfficeLoader()
Obtains theOfficeLoader
.SectionLoader
getSectionLoader()
Obtains theSectionLoader
.SupplierLoader
getSupplierLoader()
Obtains theSupplierLoader
.TeamLoader
getTeamLoader()
Obtains theTeamLoader
.TypeLoader
getTypeLoader()
Obtains theTypeLoader
.<T> T
run(java.lang.Class<? extends OfficeFloorCompilerRunnable<T>> runnableClass, java.lang.Object... parameters)
Executes theOfficeFloorCompilerRunnable
by instantiating it with the sameClassLoader
being used by thisOfficeFloorCompiler
.void
setClockFactory(ClockFactory clockFactory)
Specifies theClockFactory
.void
setCompilerIssues(CompilerIssues issues)
Overrides the defaultCompilerIssues
to use in compiling theOfficeFloor
.void
setEscalationHandler(EscalationHandler escalationHandler)
Overrides the defaultEscalationHandler
.void
setMBeanRegistrator(MBeanRegistrator mbeanRegistrator)
Specifies theMBeanRegistrator
.void
setOfficeFloorLocation(java.lang.String officeFloorLocation)
Specifies the location of theOfficeFloor
.void
setOfficeFloorSource(OfficeFloorSource officeFloorSource)
Specifies theOfficeFloorSource
instance to use for compiling theOfficeFloor
.<S extends OfficeFloorSource>
voidsetOfficeFloorSourceClass(java.lang.Class<S> officeFloorSourceClass)
Overrides the defaultOfficeFloorSource
to source theOfficeFloor
.void
setOfficeFrame(OfficeFrame officeFrame)
Overrides the defaultOfficeFrame
for building theOfficeFloor
.void
setOverridePropertiesDirectory(java.io.File propertiesDirectory)
Specifies a directory containing override properties.-
Methods inherited from class net.officefloor.compile.OfficeFloorCompiler
getChildNodes, getClassLoader, getLocation, getNodeName, getNodeType, getParentNode, getQualifiedName, isInitialised, newOfficeFloorCompiler, newPropertyList, setClassLoader, setFactory
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.compile.internal.structure.Node
getQualifiedName
-
-
-
-
Constructor Detail
-
OfficeFloorCompilerAdapter
public OfficeFloorCompilerAdapter(java.lang.Object implementation, java.lang.ClassLoader clientClassLoader, java.lang.ClassLoader implClassLoader)
Initiate.- Parameters:
implementation
-OfficeFloorCompiler
implementation.clientClassLoader
-ClassLoader
of the client.implClassLoader
-ClassLoader
of the implementation.
-
-
Method Detail
-
addSourceAliases
public void addSourceAliases()
Description copied from class:OfficeFloorCompiler
Adds the aliases for the source classes.- Overrides:
addSourceAliases
in classOfficeFloorCompiler
-
addSystemProperties
public void addSystemProperties()
Description copied from class:OfficeFloorCompiler
Convenience method to add all the
Property
instances fromSystem.getProperties()
.PropertyConfigurable.addProperty(String, String)
will be invoked for eachProperty
.- Overrides:
addSystemProperties
in classOfficeFloorCompiler
-
addEnvProperties
public void addEnvProperties()
Description copied from class:OfficeFloorCompiler
Convenience method to add all the
Property
instances fromSystem.getenv()
.PropertyConfigurable.addProperty(String, String)
will be invoked for eachProperty
.- Overrides:
addEnvProperties
in classOfficeFloorCompiler
-
run
public <T> T run(java.lang.Class<? extends OfficeFloorCompilerRunnable<T>> runnableClass, java.lang.Object... parameters) throws java.lang.Exception
Description copied from class:OfficeFloorCompiler
Executes the
OfficeFloorCompilerRunnable
by instantiating it with the sameClassLoader
being used by thisOfficeFloorCompiler
.This is typically used by graphical editors that need to use the project class path rather than the editor's class path.
- Overrides:
run
in classOfficeFloorCompiler
- Type Parameters:
T
- Return type.- Parameters:
runnableClass
-OfficeFloorCompilerRunnable
class.parameters
- Parameters to enable configuration of theOfficeFloorCompilerRunnable
. AsProxy
instances are used to bridgeClass
compatibility issues due to differentClassLoader
, all parameters should only be access via their implementing interfaces.- Returns:
- Value returned from the
OfficeFloorCompilerRunnable
. - Throws:
java.lang.Exception
- If fails to run theOfficeFloorCompilerRunnable
.
-
setClockFactory
public void setClockFactory(ClockFactory clockFactory)
Description copied from class:OfficeFloorCompiler
Specifies the
ClockFactory
.This will be added to the
OfficeFrame
before compiling theOfficeFloor
and will be available in theSourceContext
for retrievingClock
instances.- Specified by:
setClockFactory
in classOfficeFloorCompiler
- Parameters:
clockFactory
-ClockFactory
.
-
addResources
public void addResources(ResourceSource resourceSource)
Description copied from class:OfficeFloorCompiler
Adds a
ResourceSource
.This will be added to the
OfficeFrame
before compiling theOfficeFloor
and will be available in theSourceContext
for loading the various sources.- Specified by:
addResources
in classOfficeFloorCompiler
- Parameters:
resourceSource
-ResourceSource
.
-
setEscalationHandler
public void setEscalationHandler(EscalationHandler escalationHandler)
Description copied from class:OfficeFloorCompiler
Overrides the default
EscalationHandler
.This will be specified on the
OfficeFrame
before compiling theOfficeFloor
.- Specified by:
setEscalationHandler
in classOfficeFloorCompiler
- Parameters:
escalationHandler
-EscalationHandler
.
-
setMBeanRegistrator
public void setMBeanRegistrator(MBeanRegistrator mbeanRegistrator)
Description copied from class:OfficeFloorCompiler
Specifies theMBeanRegistrator
.- Specified by:
setMBeanRegistrator
in classOfficeFloorCompiler
- Parameters:
mbeanRegistrator
-MBeanRegistrator
.
-
setCompilerIssues
public void setCompilerIssues(CompilerIssues issues)
Description copied from class:OfficeFloorCompiler
Overrides the default
CompilerIssues
to use in compiling theOfficeFloor
.Implementations of
OfficeFloorCompiler
must provide a defaultCompilerIssues
. Typically this will be an implementation that writes issues toSystem.err
.- Specified by:
setCompilerIssues
in classOfficeFloorCompiler
- Parameters:
issues
-CompilerIssues
.
-
setOfficeFrame
public void setOfficeFrame(OfficeFrame officeFrame)
Description copied from class:OfficeFloorCompiler
Overrides the default
OfficeFrame
for building theOfficeFloor
.Should this not be called the
OfficeFloorCompiler
implementation should use theOfficeFrame.getInstance()
to build theOfficeFloor
.- Specified by:
setOfficeFrame
in classOfficeFloorCompiler
- Parameters:
officeFrame
-OfficeFrame
.
-
setOfficeFloorSourceClass
public <S extends OfficeFloorSource> void setOfficeFloorSourceClass(java.lang.Class<S> officeFloorSourceClass)
Description copied from class:OfficeFloorCompiler
Overrides the default
OfficeFloorSource
to source theOfficeFloor
.OfficeFloorCompiler
implementations must provide a defaultOfficeFloorSource
implementation. The choice ofOfficeFloorSource
implementation is left to theOfficeFloorCompiler
, however it should be clearly documented on theOfficeFloorCompiler
implementation whichOfficeFloorSource
implementation is being used.- Specified by:
setOfficeFloorSourceClass
in classOfficeFloorCompiler
- Type Parameters:
S
-OfficeFloorSource
type.- Parameters:
officeFloorSourceClass
-OfficeFloorSource
Class
.
-
setOfficeFloorSource
public void setOfficeFloorSource(OfficeFloorSource officeFloorSource)
Description copied from class:OfficeFloorCompiler
Specifies the
OfficeFloorSource
instance to use for compiling theOfficeFloor
.This will take precedence over specifying the
OfficeFloorSource
class.- Specified by:
setOfficeFloorSource
in classOfficeFloorCompiler
- Parameters:
officeFloorSource
-OfficeFloorSource
.
-
setOfficeFloorLocation
public void setOfficeFloorLocation(java.lang.String officeFloorLocation)
Description copied from class:OfficeFloorCompiler
Specifies the location of theOfficeFloor
.- Specified by:
setOfficeFloorLocation
in classOfficeFloorCompiler
- Parameters:
officeFloorLocation
- Location of theOfficeFloor
.
-
addProfile
public void addProfile(java.lang.String profile)
Description copied from class:OfficeFloorCompiler
Adds a profile.- Specified by:
addProfile
in classOfficeFloorCompiler
- Parameters:
profile
- Profile.
-
addProperty
public void addProperty(java.lang.String name, java.lang.String value)
Description copied from interface:PropertyConfigurable
Adds aProperty
to configure the item.
-
addOfficeSourceAlias
public <S extends OfficeSource> void addOfficeSourceAlias(java.lang.String alias, java.lang.Class<S> officeSourceClass)
Description copied from class:OfficeFloorCompiler
Allows providing an alias name for an
OfficeSource
.This stops the configuration files from being littered with fully qualified class names of the
OfficeSource
classes. 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
OfficeSourceService
is the preferred means to provideOfficeSource
aliases.- Specified by:
addOfficeSourceAlias
in classOfficeFloorCompiler
- Type Parameters:
S
-OfficeSource
type.- Parameters:
alias
- Alias name for theOfficeSource
.officeSourceClass
-OfficeSource
Class
for the alias.
-
addSectionSourceAlias
public <S extends SectionSource> void addSectionSourceAlias(java.lang.String alias, java.lang.Class<S> sectionSourceClass)
Description copied from class:OfficeFloorCompiler
Allows providing an alias name for a
SectionSource
.This stops the configuration files from being littered with fully qualified class names of the
SectionSource
classes. 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
SectionSourceService
is the preferred means to provideSectionSource
aliases.- Specified by:
addSectionSourceAlias
in classOfficeFloorCompiler
- Type Parameters:
S
-SectionSource
type.- Parameters:
alias
- Alias name for theSectionSource
.sectionSourceClass
-SectionSource
Class
for the alias.
-
addManagedFunctionSourceAlias
public <S extends ManagedFunctionSource> void addManagedFunctionSourceAlias(java.lang.String alias, java.lang.Class<S> managedFunctionSourceClass)
Description copied from class:OfficeFloorCompiler
Allows providing an alias name for a
ManagedFunctionSource
.This stops the configuration files from being littered with fully qualified class names of the
ManagedFunctionSource
classes. 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
ManagedFunctionSourceService
is the preferred means to provideManagedFunctionSource
aliases.- Specified by:
addManagedFunctionSourceAlias
in classOfficeFloorCompiler
- Type Parameters:
S
-ManagedFunctionSource
type.- Parameters:
alias
- Alias name for theManagedFunctionSource
.managedFunctionSourceClass
-ManagedFunctionSource
Class
for the alias.
-
addManagedObjectSourceAlias
public <D extends java.lang.Enum<D>,F extends java.lang.Enum<F>,S extends ManagedObjectSource<D,F>> void addManagedObjectSourceAlias(java.lang.String alias, java.lang.Class<S> managedObjectSourceClass)
Description copied from class:OfficeFloorCompiler
Allows providing an alias name for a
ManagedObjectSource
.This stops the configuration files from being littered with fully qualified class names of the
ManagedObjectSource
classes. 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
ManagedObjectSourceService
is the preferred means to provideManagedObjectSource
aliases.- Specified by:
addManagedObjectSourceAlias
in classOfficeFloorCompiler
- Type Parameters:
D
- Dependency type keys.F
-Flow
type keys.S
-ManagedObjectSource
type.- Parameters:
alias
- Alias name for theManagedObjectSource
.managedObjectSourceClass
-ManagedObjectSource
Class
for the alias.
-
addManagedObjectPoolSourceAlias
public <S extends ManagedObjectPoolSource> void addManagedObjectPoolSourceAlias(java.lang.String alias, java.lang.Class<S> managedObjectPoolSourceClass)
Description copied from class:OfficeFloorCompiler
Allows providing an alias name for a
ManagedObjectPoolSource
.This stops the configuration files from being littered with fully qualified class names of the
ManagedObjectPoolSource
classes. 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
ManagedObjectSourceService
is the preferred means to provideManagedObjectSource
aliases.- Specified by:
addManagedObjectPoolSourceAlias
in classOfficeFloorCompiler
- Type Parameters:
S
-ManagedObjectPoolSource
type.- Parameters:
alias
- Alias name for theManagedObjectPoolSource
.managedObjectPoolSourceClass
-ManagedObjectPoolSource
Class
for the alias.
-
addSupplierSourceAlias
public <S extends SupplierSource> void addSupplierSourceAlias(java.lang.String alias, java.lang.Class<S> supplierSourceClass)
Description copied from class:OfficeFloorCompiler
Allows providing an alias name for a
SupplierSource
.This stops the configuration files from being littered with fully qualified class names of the
SupplierSource
classes. 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
SupplierSourceService
is the preferred means to provideSupplierSource
aliases.- Specified by:
addSupplierSourceAlias
in classOfficeFloorCompiler
- Type Parameters:
S
-SupplierSource
type.- Parameters:
alias
- Alias name for theSupplierSource
.supplierSourceClass
-SupplierSource
Class
for the alias.
-
addAdministrationSourceAlias
public <E,F extends java.lang.Enum<F>,G extends java.lang.Enum<G>,S extends AdministrationSource<E,F,G>> void addAdministrationSourceAlias(java.lang.String alias, java.lang.Class<S> administrationSourceClass)
Description copied from class:OfficeFloorCompiler
Allows providing an alias name for a
AdministrationSource
.This stops the configuration files from being littered with fully qualified class names of the
AdministrationSource
classes. 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
AdministrationSourceService
is the preferred means to provideAdministrationSource
aliases.- Specified by:
addAdministrationSourceAlias
in classOfficeFloorCompiler
- Type Parameters:
E
- Extension interface type.F
-Flow
keys for theAdministration
.G
-Governance
keys for theAdministration
.S
-AdministrationSource
type.- Parameters:
alias
- Alias name for theAdministrationSource
.administrationSourceClass
-AdministrationSource
Class
for the alias.
-
addGovernanceSourceAlias
public <I,F extends java.lang.Enum<F>,S extends GovernanceSource<I,F>> void addGovernanceSourceAlias(java.lang.String alias, java.lang.Class<S> governanceSourceClass)
Description copied from class:OfficeFloorCompiler
Allows providing an alias name for a
GovernanceSource
.This stops the configuration files from being littered with fully qualified class names of the
GovernanceSource
classes. 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
GovernanceSourceService
is the preferred means to provideGovernanceSource
aliases.- Specified by:
addGovernanceSourceAlias
in classOfficeFloorCompiler
- Type Parameters:
I
- Extension interface type.F
-Flow
type keys.S
-GovernanceSource
type.- Parameters:
alias
- Alias name for theGovernanceSource
.governanceSourceClass
-GovernanceSource
Class
for the alias.
-
addTeamSourceAlias
public <S extends TeamSource> void addTeamSourceAlias(java.lang.String alias, java.lang.Class<S> teamSourceClass)
Description copied from class:OfficeFloorCompiler
Allows providing an alias name for a
TeamSource
.This stops the configuration files from being littered with fully qualified class names of the
TeamSource
classes. 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
TeamSourceService
is the preferred means to provideTeamSource
aliases.- Specified by:
addTeamSourceAlias
in classOfficeFloorCompiler
- Type Parameters:
S
-TeamSource
type.- Parameters:
alias
- Alias name for theTeamSource
.teamSourceClass
-TeamSource
Class
for the alias.
-
addProfiler
public void addProfiler(java.lang.String officeName, Profiler profiler)
Description copied from class:OfficeFloorCompiler
- Specified by:
addProfiler
in classOfficeFloorCompiler
- Parameters:
officeName
- Name ofOffice
to be profiled.profiler
-Profiler
for theOffice
.
-
setOverridePropertiesDirectory
public void setOverridePropertiesDirectory(java.io.File propertiesDirectory)
Description copied from class:OfficeFloorCompiler
Specifies a directory containing override properties.
The files within the directory are properties files with the naming convention: <fully-qualified-name>.properties
- Specified by:
setOverridePropertiesDirectory
in classOfficeFloorCompiler
- Parameters:
propertiesDirectory
- Directory containing the override properties.
-
addOfficeFloorListener
public void addOfficeFloorListener(OfficeFloorListener officeFloorListener)
Description copied from class:OfficeFloorCompiler
Adds anOfficeFloorListener
.- Specified by:
addOfficeFloorListener
in classOfficeFloorCompiler
- Parameters:
officeFloorListener
-OfficeFloorListener
.
-
addAutoWireStateManagerVisitor
public void addAutoWireStateManagerVisitor(AutoWireStateManagerVisitor autoWireStateManagerVisitor)
Description copied from class:OfficeFloorCompiler
Adds anAutoWireStateManagerVisitor
.- Specified by:
addAutoWireStateManagerVisitor
in classOfficeFloorCompiler
- Parameters:
autoWireStateManagerVisitor
-AutoWireStateManagerVisitor
.
-
createPropertyList
public PropertyList createPropertyList()
Description copied from class:OfficeFloorCompiler
Creates a new emptyPropertyList
.- Specified by:
createPropertyList
in classOfficeFloorCompiler
- Returns:
- New empty
PropertyList
.
-
createRootSourceContext
public SourceContext createRootSourceContext()
Description copied from class:OfficeFloorCompiler
Creates a rootSourceContext
.- Specified by:
createRootSourceContext
in classOfficeFloorCompiler
- Returns:
- Root
SourceContext
.
-
getCompilerIssues
public CompilerIssues getCompilerIssues()
Description copied from class:OfficeFloorCompiler
Obtains theCompilerIssues
.- Specified by:
getCompilerIssues
in classOfficeFloorCompiler
- Returns:
CompilerIssues
.
-
getTypeLoader
public TypeLoader getTypeLoader()
Description copied from class:OfficeFloorCompiler
Obtains theTypeLoader
.- Specified by:
getTypeLoader
in classOfficeFloorCompiler
- Returns:
TypeLoader
.
-
getOfficeFloorLoader
public OfficeFloorLoader getOfficeFloorLoader()
Description copied from class:OfficeFloorCompiler
Obtains theOfficeFloorLoader
.- Specified by:
getOfficeFloorLoader
in classOfficeFloorCompiler
- Returns:
OfficeFloorLoader
.
-
getOfficeLoader
public OfficeLoader getOfficeLoader()
Description copied from class:OfficeFloorCompiler
Obtains theOfficeLoader
.- Specified by:
getOfficeLoader
in classOfficeFloorCompiler
- Returns:
OfficeLoader
.
-
getSectionLoader
public SectionLoader getSectionLoader()
Description copied from class:OfficeFloorCompiler
Obtains theSectionLoader
.- Specified by:
getSectionLoader
in classOfficeFloorCompiler
- Returns:
SectionLoader
.
-
getManagedFunctionLoader
public ManagedFunctionLoader getManagedFunctionLoader()
Description copied from class:OfficeFloorCompiler
Obtains theManagedFunctionLoader
.- Specified by:
getManagedFunctionLoader
in classOfficeFloorCompiler
- Returns:
ManagedFunctionLoader
.
-
getManagedObjectLoader
public ManagedObjectLoader getManagedObjectLoader()
Description copied from class:OfficeFloorCompiler
Obtains theManagedObjectLoader
.- Specified by:
getManagedObjectLoader
in classOfficeFloorCompiler
- Returns:
ManagedObjectLoader
.
-
getSupplierLoader
public SupplierLoader getSupplierLoader()
Description copied from class:OfficeFloorCompiler
Obtains theSupplierLoader
.- Specified by:
getSupplierLoader
in classOfficeFloorCompiler
- Returns:
SupplierLoader
.
-
getGovernanceLoader
public GovernanceLoader getGovernanceLoader()
Description copied from class:OfficeFloorCompiler
Obtains theGovernanceLoader
.- Specified by:
getGovernanceLoader
in classOfficeFloorCompiler
- Returns:
GovernanceLoader
.
-
getManagedObjectPoolLoader
public ManagedObjectPoolLoader getManagedObjectPoolLoader()
Description copied from class:OfficeFloorCompiler
Obtains theManagedObjectPoolLoader
.- Specified by:
getManagedObjectPoolLoader
in classOfficeFloorCompiler
- Returns:
ManagedObjectPoolLoader
.
-
getAdministrationLoader
public AdministrationLoader getAdministrationLoader()
Description copied from class:OfficeFloorCompiler
Obtains theAdministrationLoader
.- Specified by:
getAdministrationLoader
in classOfficeFloorCompiler
- Returns:
AdministrationLoader
.
-
getTeamLoader
public TeamLoader getTeamLoader()
Description copied from class:OfficeFloorCompiler
Obtains theTeamLoader
.- Specified by:
getTeamLoader
in classOfficeFloorCompiler
- Returns:
TeamLoader
.
-
getExecutiveLoader
public ExecutiveLoader getExecutiveLoader()
Description copied from class:OfficeFloorCompiler
Obtains theExecutiveLoader
.- Specified by:
getExecutiveLoader
in classOfficeFloorCompiler
- Returns:
ExecutiveLoader
.
-
configureOfficeFloorCompiler
public boolean configureOfficeFloorCompiler()
Description copied from class:OfficeFloorCompiler
Runs the
OfficeFloorCompilerConfigurer
instances 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:
configureOfficeFloorCompiler
in classOfficeFloorCompiler
- Returns:
true
if configured.false
with issue reported to theCompilerIssues
.
-
compile
public OfficeFloor compile(java.lang.String officeFloorName)
Description copied from class:OfficeFloorCompiler
Compiles and builds theOfficeFloor
.- Specified by:
compile
in classOfficeFloorCompiler
- Parameters:
officeFloorName
- Name of theOfficeFloor
.- Returns:
OfficeFloor
ornull
if issues in compiling which are reported to theCompilerIssues
.
-
-