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
ManagedObjectfor theOffice.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddExecutionExplorer(ExecutionObjectExplorer executionObjectExplorer)Adds anExecutionObjectExplorerfor the execution tree from thisOfficeManagedObject.voidaddPreLoadAdministration(OfficeAdministration administration)Adds anOfficeAdministrationto be done before attempting load thisManagedObject.voidaddTypeQualification(java.lang.String qualifier, java.lang.String type)Adds anTypeQualificationfor thisOfficeManagedObject.OfficeManagedObjectDependencygetOfficeManagedObjectDependency(java.lang.String managedObjectDependencyName)Obtains theOfficeManagedObjectDependencyfor theManagedObjectDependencyType.java.lang.StringgetOfficeManagedObjectName()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
TypeQualificationfor thisOfficeManagedObject.This enables distinguishing
OfficeManagedObjectinstances to enable, for example, dynamicTeamassignment.- Parameters:
qualifier- Qualifier. May benullif no qualification.type- Type (typically the fully qualified type).
-
getOfficeManagedObjectDependency
OfficeManagedObjectDependency getOfficeManagedObjectDependency(java.lang.String managedObjectDependencyName)
Obtains theOfficeManagedObjectDependencyfor theManagedObjectDependencyType.- Parameters:
managedObjectDependencyName- Name of theManagedObjectDependencyType.- Returns:
OfficeManagedObjectDependency.
-
addPreLoadAdministration
void addPreLoadAdministration(OfficeAdministration administration)
Adds an
OfficeAdministrationto be done before attempting load thisManagedObject.The order that the
OfficeAdministrationinstances are added is the order they will be done.- Parameters:
administration-OfficeAdministrationto be done before attempting load thisManagedObject.
-
addExecutionExplorer
void addExecutionExplorer(ExecutionObjectExplorer executionObjectExplorer)
Adds anExecutionObjectExplorerfor the execution tree from thisOfficeManagedObject.- Parameters:
executionObjectExplorer-ExecutionObjectExplorer.
-
-