Class RawManagedFunctionMetaData<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
- java.lang.Object
-
- net.officefloor.frame.impl.construct.managedfunction.RawManagedFunctionMetaData<O,F>
-
public class RawManagedFunctionMetaData<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>> extends java.lang.Object
Raw meta-data for aManagedFunction
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description RawManagedFunctionMetaData(java.lang.String functionName, ManagedFunctionConfiguration<O,F> configuration, java.util.Map<java.lang.String,RawBoundManagedObjectMetaData> functionScopedManagedObjects, java.util.Map<ManagedObjectIndex,RawBoundManagedObjectMetaData> requiredManagedObjects, ManagedFunctionMetaDataImpl<O,F> functionMetaData)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFunctionName()
Obtains the name of theManagedFunction
.ManagedFunctionMetaData<O,F>
getManagedFunctionMetaData()
Obtains theManagedFunctionMetaData
.boolean
loadOfficeMetaData(OfficeMetaData officeMetaData, FlowMetaDataFactory flowMetaDataFactory, EscalationFlowFactory escalationFlowFactory, RawAdministrationMetaDataFactory rawAdministrationMetaDataFactory, AssetManagerRegistry assetManagerRegistry, long defaultAsynchronousFlowTimeout, OfficeFloorIssues issues)
Loads meta-data regarding the containingOffice
.
-
-
-
Constructor Detail
-
RawManagedFunctionMetaData
public RawManagedFunctionMetaData(java.lang.String functionName, ManagedFunctionConfiguration<O,F> configuration, java.util.Map<java.lang.String,RawBoundManagedObjectMetaData> functionScopedManagedObjects, java.util.Map<ManagedObjectIndex,RawBoundManagedObjectMetaData> requiredManagedObjects, ManagedFunctionMetaDataImpl<O,F> functionMetaData)
Initiate.- Parameters:
functionName
- Name of theManagedFunction
.configuration
-ManagedFunctionConfiguration
.functionScopedManagedObjects
-ManagedFunction
scopedRawBoundManagedObjectMetaData
.requiredManagedObjects
- RequiredRawBoundManagedObjectMetaData
for thisManagedFunction
.functionMetaData
-ManagedFunctionMetaDataImpl
.
-
-
Method Detail
-
getFunctionName
public java.lang.String getFunctionName()
Obtains the name of theManagedFunction
.- Returns:
- Name of the
ManagedFunction
.
-
loadOfficeMetaData
public boolean loadOfficeMetaData(OfficeMetaData officeMetaData, FlowMetaDataFactory flowMetaDataFactory, EscalationFlowFactory escalationFlowFactory, RawAdministrationMetaDataFactory rawAdministrationMetaDataFactory, AssetManagerRegistry assetManagerRegistry, long defaultAsynchronousFlowTimeout, OfficeFloorIssues issues)
Loads meta-data regarding the containingOffice
.- Parameters:
officeMetaData
-OfficeMetaData
.flowMetaDataFactory
-FlowMetaDataFactory
.escalationFlowFactory
-EscalationFlowFactory
.rawAdministrationMetaDataFactory
-RawAdministrationMetaDataFactory
.assetManagerRegistry
-AssetManagerRegistry
.defaultAsynchronousFlowTimeout
- DefaultAsynchronousFlow
timeout.issues
-OfficeFloorIssues
.- Returns:
true
if successfully loaded theOfficeMetaData
.
-
getManagedFunctionMetaData
public ManagedFunctionMetaData<O,F> getManagedFunctionMetaData()
Obtains theManagedFunctionMetaData
.- Returns:
ManagedFunctionMetaData
.
-
-