Class ManagedFunctionBoundManagedObjects
java.lang.Object
net.officefloor.frame.impl.execute.function.ManagedFunctionBoundManagedObjects
ManagedObjectContainer instances bound to the
ManagedFunctionContainer.- Author:
- Daniel Sagenschneider
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ManagedObjectContainer[]ManagedObjectContainerinstances bound to theManagedFunctionContainer. -
Constructor Summary
ConstructorsConstructorDescriptionManagedFunctionBoundManagedObjects(ManagedFunctionLogic managedFunctionLogic, ManagedObjectMetaData<?>[] managedObjectMetaData, ManagedObjectIndex[] requiredManagedObjects, boolean[] requiredGovernance, boolean isEnforceGovernance, ManagedFunctionLogicMetaData functionLogicMetaData, BlockState parallelOwner, Flow flow, boolean isUnloadManagedObjects) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionCreates anManagedFunctionInterestin the boundManagedObjectContainerinstances of theManagedFunctionContainer.booleanIndicates if there is aManagedFunctionInterestin the boundManagedObjectContainerinstances of theManagedFunctionContainer.
-
Field Details
-
managedObjects
ManagedObjectContainerinstances bound to theManagedFunctionContainer. -
managedFunctionContainer
-
-
Constructor Details
-
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 Details
-
isInterest
public boolean isInterest()Indicates if there is aManagedFunctionInterestin the boundManagedObjectContainerinstances of theManagedFunctionContainer.- Returns:
trueif there is a registeredManagedFunctionInterest.
-
createInterest
Creates anManagedFunctionInterestin the boundManagedObjectContainerinstances of theManagedFunctionContainer.- Returns:
- New
ManagedFunctionInterest.
-