Class FunctionLoopImpl
- java.lang.Object
-
- net.officefloor.frame.impl.execute.job.FunctionLoopImpl
-
- All Implemented Interfaces:
FunctionLoop
public class FunctionLoopImpl extends java.lang.Object implements FunctionLoop
FunctionLoopimplementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description FunctionLoopImpl(TeamManagement defaultTeam)Instantiates.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelegateFunction(FunctionState function)Delegates theFunctionStateto the appropriateTeamto execute.voidexecuteFunction(FunctionState function)Executes theFunctionStatewithin the currentThread.
-
-
-
Constructor Detail
-
FunctionLoopImpl
public FunctionLoopImpl(TeamManagement defaultTeam)
Instantiates.- Parameters:
defaultTeam- DefaultTeamManagement. May benull.
-
-
Method Detail
-
executeFunction
public void executeFunction(FunctionState function)
Description copied from interface:FunctionLoopExecutes theFunctionStatewithin the currentThread.- Specified by:
executeFunctionin interfaceFunctionLoop- Parameters:
function-FunctionStateto execute.
-
delegateFunction
public void delegateFunction(FunctionState function)
Description copied from interface:FunctionLoopDelegates theFunctionStateto the appropriateTeamto execute.- Specified by:
delegateFunctionin interfaceFunctionLoop- Parameters:
function-FunctionStateto delegate to aTeam.
-
-