Interface OfficeManagedObject
-
- All Superinterfaces:
AdministerableManagedObject
,DependentManagedObject
,GovernerableManagedObject
,OfficeDependencyObjectNode
- All Known Subinterfaces:
ManagedObjectNode
- All Known Implementing Classes:
ManagedObjectNodeImpl
public interface OfficeManagedObject extends OfficeDependencyObjectNode, DependentManagedObject, AdministerableManagedObject, GovernerableManagedObject
ManagedObject
for theOffice
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addExecutionExplorer(ExecutionObjectExplorer executionObjectExplorer)
Adds anExecutionObjectExplorer
for the execution tree from thisOfficeManagedObject
.void
addPreLoadAdministration(OfficeAdministration administration)
Adds anOfficeAdministration
to be done before attempting load thisManagedObject
.void
addTypeQualification(java.lang.String qualifier, java.lang.String type)
Adds anTypeQualification
for thisOfficeManagedObject
.OfficeManagedObjectDependency
getOfficeManagedObjectDependency(java.lang.String managedObjectDependencyName)
Obtains theOfficeManagedObjectDependency
for theManagedObjectDependencyType
.java.lang.String
getOfficeManagedObjectName()
Obtains the name of theManagedObject
.-
Methods inherited from interface net.officefloor.compile.spi.office.AdministerableManagedObject
getAdministerableManagedObjectName
-
Methods inherited from interface net.officefloor.compile.spi.office.DependentManagedObject
getDependentManagedObjectName
-
Methods inherited from interface net.officefloor.compile.spi.office.GovernerableManagedObject
getGovernerableManagedObjectName
-
-
-
-
Method Detail
-
getOfficeManagedObjectName
java.lang.String getOfficeManagedObjectName()
Obtains the name of theManagedObject
.- Returns:
- Name of the
ManagedObject
.
-
addTypeQualification
void addTypeQualification(java.lang.String qualifier, java.lang.String type)
Adds an
TypeQualification
for thisOfficeManagedObject
.This enables distinguishing
OfficeManagedObject
instances to enable, for example, dynamicTeam
assignment.- Parameters:
qualifier
- Qualifier. May benull
if no qualification.type
- Type (typically the fully qualified type).
-
getOfficeManagedObjectDependency
OfficeManagedObjectDependency getOfficeManagedObjectDependency(java.lang.String managedObjectDependencyName)
Obtains theOfficeManagedObjectDependency
for theManagedObjectDependencyType
.- Parameters:
managedObjectDependencyName
- Name of theManagedObjectDependencyType
.- Returns:
OfficeManagedObjectDependency
.
-
addPreLoadAdministration
void addPreLoadAdministration(OfficeAdministration administration)
Adds an
OfficeAdministration
to be done before attempting load thisManagedObject
.The order that the
OfficeAdministration
instances are added is the order they will be done.- Parameters:
administration
-OfficeAdministration
to be done before attempting load thisManagedObject
.
-
addExecutionExplorer
void addExecutionExplorer(ExecutionObjectExplorer executionObjectExplorer)
Adds anExecutionObjectExplorer
for the execution tree from thisOfficeManagedObject
.- Parameters:
executionObjectExplorer
-ExecutionObjectExplorer
.
-
-