Class SynchroniseProcessStateFunctionLogic
- java.lang.Object
-
- net.officefloor.frame.impl.execute.function.SynchroniseProcessStateFunctionLogic
-
- All Implemented Interfaces:
FunctionLogic
public class SynchroniseProcessStateFunctionLogic extends java.lang.Object implements FunctionLogic
- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description SynchroniseProcessStateFunctionLogic(ThreadState currentThreadState)Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionStateexecute(Flow flow)Executes the logic.booleanisRequireThreadStateSafety()Indicates if theFunctionLogicrequiresThreadStatesafety.java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.officefloor.frame.internal.structure.FunctionLogic
getResponsibleTeam
-
-
-
-
Constructor Detail
-
SynchroniseProcessStateFunctionLogic
public SynchroniseProcessStateFunctionLogic(ThreadState currentThreadState)
Instantiate.- Parameters:
currentThreadState- CurrentThreadState.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
isRequireThreadStateSafety
public boolean isRequireThreadStateSafety()
Description copied from interface:FunctionLogicIndicates if theFunctionLogicrequiresThreadStatesafety.- Specified by:
isRequireThreadStateSafetyin interfaceFunctionLogic- Returns:
trueshouldFunctionLogicrequireThreadStatesafety.
-
execute
public FunctionState execute(Flow flow)
Description copied from interface:FunctionLogicExecutes the logic.- Specified by:
executein interfaceFunctionLogic- Parameters:
flow-Flowthat contains thisFunctionLogic.- Returns:
- Optional
FunctionStateto execute next.
-
-