Class SynchroniseProcessStateFunctionLogic
java.lang.Object
net.officefloor.frame.impl.execute.function.SynchroniseProcessStateFunctionLogic
- All Implemented Interfaces:
FunctionLogic
- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionSynchroniseProcessStateFunctionLogic(ThreadState currentThreadState) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionExecutes the logic.booleanIndicates if theFunctionLogicrequiresThreadStatesafety.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.officefloor.frame.internal.structure.FunctionLogic
getResponsibleTeam
-
Constructor Details
-
SynchroniseProcessStateFunctionLogic
Instantiate.- Parameters:
currentThreadState- CurrentThreadState.
-
-
Method Details
-
toString
-
isRequireThreadStateSafety
public boolean isRequireThreadStateSafety()Description copied from interface:FunctionLogicIndicates if theFunctionLogicrequiresThreadStatesafety.- Specified by:
isRequireThreadStateSafetyin interfaceFunctionLogic- Returns:
trueshouldFunctionLogicrequireThreadStatesafety.
-
execute
Description copied from interface:FunctionLogicExecutes the logic.- Specified by:
executein interfaceFunctionLogic- Parameters:
flow-Flowthat contains thisFunctionLogic.- Returns:
- Optional
FunctionStateto execute next.
-