- All Superinterfaces:
ManagedFunctionLogicMetaData
- All Known Implementing Classes:
ManagedFunctionMetaDataImpl
public interface ManagedFunctionMetaData<O extends Enum<O>,F extends Enum<F>>
extends ManagedFunctionLogicMetaData
Meta-data for the
ManagedFunction.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionObject[]Obtains the annotations for theManagedFunction.Obtains theLoggerforManagedFunctionContext.getManagedObject(int managedObjectIndex) Obtains theManagedObjectIndexfor theManagedFunctionindex.Obtains the meta-data of theManagedObjectinstances bound to theManagedFunction.Class<?>Obtains the parameter type for theManagedFunction.Meta-data of theAdministrationto undertake after executing theManagedFunction.Meta-data of theAdministrationto undertake before executing theManagedFunction.boolean[]Obtains the activation flags for theGovernance.Obtains theManagedObjectIndexinstances identifying theManagedObjectinstances that must be loaded before theManagedFunctionmay be executed.Methods inherited from interface net.officefloor.frame.internal.structure.ManagedFunctionLogicMetaData
getAsynchronousFlowManagerReference, getAsynchronousFlowTimeout, getEscalationProcedure, getFlow, getFunctionName, getNextManagedFunctionMetaData, getOfficeMetaData, getResponsibleTeam
-
Method Details
-
getManagedFunctionFactory
ManagedFunctionFactory<O,F> getManagedFunctionFactory()- Returns:
ManagedFunctionFactory
-
getAnnotations
Object[] getAnnotations()Obtains the annotations for theManagedFunction.- Returns:
- Annotations.
-
getParameterType
Class<?> getParameterType()Obtains the parameter type for theManagedFunction.- Returns:
- Parameter type for the
ManagedFunction. May benullto indicate no parameter.
-
getLogger
Logger getLogger()Obtains theLoggerforManagedFunctionContext.- Returns:
LoggerforManagedFunctionContext.
-
getRequiredManagedObjects
ManagedObjectIndex[] getRequiredManagedObjects()Obtains the
ManagedObjectIndexinstances identifying theManagedObjectinstances that must be loaded before theManagedFunctionmay be executed.The order of the
ManagedObjectIndexinstances must be respected as they are sorted to enable appropriateCoordinatingManagedObjectto co-ordinate with dependencies.- Returns:
- Listing of
ManagedObjectIndexinstances.
-
getRequiredGovernance
boolean[] getRequiredGovernance()Obtains the activation flags for theGovernance. The index into the array identifies theGovernancefor the respective activation flag.- Returns:
- Activation flags for the
Governance.
-
getManagedObject
Obtains theManagedObjectIndexfor theManagedFunctionindex.- Parameters:
managedObjectIndex-ManagedObjectIndexfor theManagedFunctionindex.- Returns:
ManagedObjectIndexto obtain theManagedObjectfor theManagedFunction.
-
getManagedObjectMetaData
ManagedObjectMetaData<?>[] getManagedObjectMetaData()Obtains the meta-data of theManagedObjectinstances bound to theManagedFunction.- Returns:
- Meta-data of the
ManagedObjectinstances bound to theManagedFunction.
-
getPreAdministrationMetaData
ManagedFunctionAdministrationMetaData<?,?, getPreAdministrationMetaData()?>[] Meta-data of theAdministrationto undertake before executing theManagedFunction.- Returns:
- Listing of the
Administrationinstances to undertake before executing theManagedFunction.
-
getPostAdministrationMetaData
ManagedFunctionAdministrationMetaData<?,?, getPostAdministrationMetaData()?>[] Meta-data of theAdministrationto undertake after executing theManagedFunction.- Returns:
- Listing the
Administrationinstances to undertake after executing theManagedFunction.
-