Class ManagedFunctionBoundManagedObjects
- java.lang.Object
-
- net.officefloor.frame.impl.execute.function.ManagedFunctionBoundManagedObjects
-
public class ManagedFunctionBoundManagedObjects extends java.lang.ObjectManagedObjectContainerinstances bound to theManagedFunctionContainer.- Author:
- Daniel Sagenschneider
-
-
Field Summary
Fields Modifier and Type Field Description ManagedFunctionContainerImpl<ManagedFunctionLogicMetaData>managedFunctionContainerManagedObjectContainer[]managedObjectsManagedObjectContainerinstances bound to theManagedFunctionContainer.
-
Constructor Summary
Constructors Constructor Description ManagedFunctionBoundManagedObjects(ManagedFunctionLogic managedFunctionLogic, ManagedObjectMetaData<?>[] managedObjectMetaData, ManagedObjectIndex[] requiredManagedObjects, boolean[] requiredGovernance, boolean isEnforceGovernance, ManagedFunctionLogicMetaData functionLogicMetaData, BlockState parallelOwner, Flow flow, boolean isUnloadManagedObjects)Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedFunctionInterestcreateInterest()Creates anManagedFunctionInterestin the boundManagedObjectContainerinstances of theManagedFunctionContainer.booleanisInterest()Indicates if there is aManagedFunctionInterestin the boundManagedObjectContainerinstances of theManagedFunctionContainer.
-
-
-
Field Detail
-
managedObjects
public final ManagedObjectContainer[] managedObjects
ManagedObjectContainerinstances bound to theManagedFunctionContainer.
-
managedFunctionContainer
public final ManagedFunctionContainerImpl<ManagedFunctionLogicMetaData> managedFunctionContainer
-
-
Constructor Detail
-
ManagedFunctionBoundManagedObjects
public ManagedFunctionBoundManagedObjects(ManagedFunctionLogic managedFunctionLogic, ManagedObjectMetaData<?>[] managedObjectMetaData, ManagedObjectIndex[] requiredManagedObjects, boolean[] requiredGovernance, boolean isEnforceGovernance, ManagedFunctionLogicMetaData functionLogicMetaData, BlockState parallelOwner, Flow flow, boolean isUnloadManagedObjects)
Instantiate.- Parameters:
managedFunctionLogic-ManagedFunctionLogic.managedObjectMetaData-ManagedObjectMetaDataof theManagedObjectContainerinstances bound to theManagedFunctionContainer.requiredManagedObjects-ManagedObjectIndexinstances to theManagedObjectinstances that must be loaded before theManagedFunctionmay be executed.requiredGovernance- Identifies the required activation state of theGovernancefor thisManagedFunction.isEnforceGovernance-trueto enforceGovernanceon deactivation.falseto disregardGovernanceon deactivation.functionLogicMetaData-ManagedFunctionLogicMetaData.parallelOwner- Parallel owner of thisManagedFunctionContainer. May benullif no owner.flow-Flowfor theManagedFunctionContainer.isUnloadManagedObjects- Indicates whether thisManagedObjectContaineris responsible for unloading theManagedObjectinstances.
-
-
Method Detail
-
isInterest
public boolean isInterest()
Indicates if there is aManagedFunctionInterestin the boundManagedObjectContainerinstances of theManagedFunctionContainer.- Returns:
trueif there is a registeredManagedFunctionInterest.
-
createInterest
public ManagedFunctionInterest createInterest()
Creates anManagedFunctionInterestin the boundManagedObjectContainerinstances of theManagedFunctionContainer.- Returns:
- New
ManagedFunctionInterest.
-
-