java.lang.Object
net.officefloor.frame.impl.execute.administration.AdministrationMetaDataImpl<E,F,G>
- All Implemented Interfaces:
AdministrationMetaData<E,,F, G> ManagedFunctionLogicMetaData
public class AdministrationMetaDataImpl<E,F extends Enum<F>,G extends Enum<G>>
extends Object
implements AdministrationMetaData<E,F,G>
Implementation of the
AdministrationMetaData.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionAdministrationMetaDataImpl(String administrationName, AdministrationFactory<E, F, G> administrationFactory, Class<E> extensionInterface, ManagedObjectExtensionExtractorMetaData<E>[] eiMetaData, TeamManagement responsibleTeam, long asynchronousFlowTimeout, AssetManagerReference asynchronousFlowAssetManagerReference, FlowMetaData[] flowMetaData, int[] governanceIndexes, EscalationProcedure escalationProcedure, OfficeMetaData officeMetaData) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionObtains theAdministrationFactory.Obtains the name of theAdministration.Obtains theAssetManagerReferencethat managesAsynchronousFlowinstances instigated by theManagedFunction.longObtains the time out forAsynchronousFlowinstigated by theManagedFunction.Obtains theEscalationProcedurefor theManagedFunctionLogic.Obtains the extension interface to administer theManagedObjectinstances.getFlow(int flowIndex) Obtains theFlowMetaDataof the specifiedFlow.Obtains the name of theManagedFunctionLogic.Obtains theManagedObjectExtensionExtractorMetaDataover theManagedObjectinstances to be administered by thisAdministration.Obtains theManagedFunctionMetaDataof the nextManagedFunction.Obtains theOfficeMetaData.Obtains theTeamManagementresponsible for completion of theFunctionState.inttranslateGovernanceIndexToThreadIndex(int governanceIndex)
-
Constructor Details
-
AdministrationMetaDataImpl
public AdministrationMetaDataImpl(String administrationName, AdministrationFactory<E, F, G> administrationFactory, Class<E> extensionInterface, ManagedObjectExtensionExtractorMetaData<E>[] eiMetaData, TeamManagement responsibleTeam, long asynchronousFlowTimeout, AssetManagerReference asynchronousFlowAssetManagerReference, FlowMetaData[] flowMetaData, int[] governanceIndexes, EscalationProcedure escalationProcedure, OfficeMetaData officeMetaData) Instantiate.- Parameters:
administrationName- Bound name of thisAdministration.administrationFactory-AdministrationFactory.extensionInterface- Extension interface.eiMetaData-ManagedObjectExtensionExtractorMetaData.responsibleTeam-TeamManagementofTeamresponsible for theGovernanceActivity.asynchronousFlowAssetManagerReference-AssetManagerReferencefor the instigatedAsynchronousFlowinstances.asynchronousFlowTimeout-AsynchronousFlowtiemout.flowMetaData-FlowMetaDatainstances for thisAdministration.governanceIndexes- Translates the index to aThreadStateGovernanceindex.escalationProcedure-EscalationProcedure.officeMetaData-OfficeMetaData.
-
-
Method Details
-
getFunctionName
Description copied from interface:ManagedFunctionLogicMetaDataObtains the name of theManagedFunctionLogic.- Specified by:
getFunctionNamein interfaceManagedFunctionLogicMetaData- Returns:
- Name of the
ManagedFunctionLogic.
-
getResponsibleTeam
Description copied from interface:ManagedFunctionLogicMetaDataObtains theTeamManagementresponsible for completion of theFunctionState.- Specified by:
getResponsibleTeamin interfaceManagedFunctionLogicMetaData- Returns:
TeamManagementresponsible for completion of theFunctionState. May benullto enable anyTeamto execute theFunctionState.
-
getAsynchronousFlowTimeout
public long getAsynchronousFlowTimeout()Description copied from interface:ManagedFunctionLogicMetaDataObtains the time out forAsynchronousFlowinstigated by theManagedFunction.- Specified by:
getAsynchronousFlowTimeoutin interfaceManagedFunctionLogicMetaData- Returns:
- Time out for
AsynchronousFlowinstigated by theManagedFunction.
-
getAsynchronousFlowManagerReference
Description copied from interface:ManagedFunctionLogicMetaDataObtains theAssetManagerReferencethat managesAsynchronousFlowinstances instigated by theManagedFunction.- Specified by:
getAsynchronousFlowManagerReferencein interfaceManagedFunctionLogicMetaData- Returns:
AssetManagerReferencethat managesAsynchronousFlowinstances instigated by theManagedFunction.
-
getFlow
Description copied from interface:ManagedFunctionLogicMetaDataObtains theFlowMetaDataof the specifiedFlow.- Specified by:
getFlowin interfaceManagedFunctionLogicMetaData- Parameters:
flowIndex- Index of theFlow.- Returns:
FlowMetaDataof the specifiedFlow.
-
getNextManagedFunctionMetaData
Description copied from interface:ManagedFunctionLogicMetaDataObtains theManagedFunctionMetaDataof the nextManagedFunction.- Specified by:
getNextManagedFunctionMetaDatain interfaceManagedFunctionLogicMetaData- Returns:
ManagedFunctionMetaDataof nextManagedFunction.
-
getEscalationProcedure
Description copied from interface:ManagedFunctionLogicMetaDataObtains theEscalationProcedurefor theManagedFunctionLogic.- Specified by:
getEscalationProcedurein interfaceManagedFunctionLogicMetaData- Returns:
EscalationProcedure.
-
getOfficeMetaData
Description copied from interface:ManagedFunctionLogicMetaDataObtains theOfficeMetaData.- Specified by:
getOfficeMetaDatain interfaceManagedFunctionLogicMetaData- Returns:
OfficeMetaData.
-
getManagedObjectExtensionExtractorMetaData
Description copied from interface:AdministrationMetaDataObtains theManagedObjectExtensionExtractorMetaDataover theManagedObjectinstances to be administered by thisAdministration.- Specified by:
getManagedObjectExtensionExtractorMetaDatain interfaceAdministrationMetaData<E,F extends Enum<F>, G extends Enum<G>> - Returns:
ManagedObjectExtensionExtractorMetaDataover theManagedObjectinstances to be administered by thisAdministration.
-
getAdministrationName
Description copied from interface:AdministrationMetaDataObtains the name of theAdministration.- Specified by:
getAdministrationNamein interfaceAdministrationMetaData<E,F extends Enum<F>, G extends Enum<G>> - Returns:
- Name of the
Administration.
-
getAdministrationFactory
Description copied from interface:AdministrationMetaDataObtains theAdministrationFactory.- Specified by:
getAdministrationFactoryin interfaceAdministrationMetaData<E,F extends Enum<F>, G extends Enum<G>> - Returns:
AdministrationFactory.
-
getExtensionInterface
Description copied from interface:AdministrationMetaDataObtains the extension interface to administer theManagedObjectinstances.- Specified by:
getExtensionInterfacein interfaceAdministrationMetaData<E,F extends Enum<F>, G extends Enum<G>> - Returns:
- Extension interface to administer the
ManagedObjectinstances.
-
translateGovernanceIndexToThreadIndex
public int translateGovernanceIndexToThreadIndex(int governanceIndex) Description copied from interface:AdministrationMetaData- Specified by:
translateGovernanceIndexToThreadIndexin interfaceAdministrationMetaData<E,F extends Enum<F>, G extends Enum<G>> - Parameters:
governanceIndex-AdministrationGovernanceindex.- Returns:
ThreadStateGovernanceindex.
-