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 the Office.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddExecutionExplorer(ExecutionObjectExplorer executionObjectExplorer) Adds anExecutionObjectExplorerfor the execution tree from thisOfficeManagedObject.voidaddPreLoadAdministration(OfficeAdministration administration) Adds anOfficeAdministrationto be done before attempting load thisManagedObject.voidaddTypeQualification(String qualifier, String type) Adds anTypeQualificationfor thisOfficeManagedObject.getOfficeManagedObjectDependency(String managedObjectDependencyName) Obtains theOfficeManagedObjectDependencyfor theManagedObjectDependencyType.Obtains the name of theManagedObject.Methods inherited from interface net.officefloor.compile.spi.office.AdministerableManagedObject
getAdministerableManagedObjectNameMethods inherited from interface net.officefloor.compile.spi.office.DependentManagedObject
getDependentManagedObjectNameMethods inherited from interface net.officefloor.compile.spi.office.GovernerableManagedObject
getGovernerableManagedObjectName
-
Method Details
-
getOfficeManagedObjectName
String getOfficeManagedObjectName()Obtains the name of theManagedObject.- Returns:
- Name of the
ManagedObject.
-
addTypeQualification
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
Obtains theOfficeManagedObjectDependencyfor theManagedObjectDependencyType.- Parameters:
managedObjectDependencyName- Name of theManagedObjectDependencyType.- Returns:
OfficeManagedObjectDependency.
-
addPreLoadAdministration
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
Adds anExecutionObjectExplorerfor the execution tree from thisOfficeManagedObject.- Parameters:
executionObjectExplorer-ExecutionObjectExplorer.
-