Class ManagedFunctionBoundManagedObjects
- java.lang.Object
-
- net.officefloor.frame.impl.execute.function.ManagedFunctionBoundManagedObjects
-
public class ManagedFunctionBoundManagedObjects extends java.lang.Object
ManagedObjectContainer
instances bound to theManagedFunctionContainer
.- Author:
- Daniel Sagenschneider
-
-
Field Summary
Fields Modifier and Type Field Description ManagedFunctionContainerImpl<ManagedFunctionLogicMetaData>
managedFunctionContainer
ManagedObjectContainer[]
managedObjects
ManagedObjectContainer
instances 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 ManagedFunctionInterest
createInterest()
Creates anManagedFunctionInterest
in the boundManagedObjectContainer
instances of theManagedFunctionContainer
.boolean
isInterest()
Indicates if there is aManagedFunctionInterest
in the boundManagedObjectContainer
instances of theManagedFunctionContainer
.
-
-
-
Field Detail
-
managedObjects
public final ManagedObjectContainer[] managedObjects
ManagedObjectContainer
instances 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
-ManagedObjectMetaData
of theManagedObjectContainer
instances bound to theManagedFunctionContainer
.requiredManagedObjects
-ManagedObjectIndex
instances to theManagedObject
instances that must be loaded before theManagedFunction
may be executed.requiredGovernance
- Identifies the required activation state of theGovernance
for thisManagedFunction
.isEnforceGovernance
-true
to enforceGovernance
on deactivation.false
to disregardGovernance
on deactivation.functionLogicMetaData
-ManagedFunctionLogicMetaData
.parallelOwner
- Parallel owner of thisManagedFunctionContainer
. May benull
if no owner.flow
-Flow
for theManagedFunctionContainer
.isUnloadManagedObjects
- Indicates whether thisManagedObjectContainer
is responsible for unloading theManagedObject
instances.
-
-
Method Detail
-
isInterest
public boolean isInterest()
Indicates if there is aManagedFunctionInterest
in the boundManagedObjectContainer
instances of theManagedFunctionContainer
.- Returns:
true
if there is a registeredManagedFunctionInterest
.
-
createInterest
public ManagedFunctionInterest createInterest()
Creates anManagedFunctionInterest
in the boundManagedObjectContainer
instances of theManagedFunctionContainer
.- Returns:
- New
ManagedFunctionInterest
.
-
-