Class FunctionLoopImpl
java.lang.Object
net.officefloor.frame.impl.execute.job.FunctionLoopImpl
- All Implemented Interfaces:
FunctionLoop
FunctionLoop implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelegateFunction(FunctionState function) Delegates theFunctionStateto the appropriateTeamto execute.voidexecuteFunction(FunctionState function) Executes theFunctionStatewithin the currentThread.
-
Constructor Details
-
FunctionLoopImpl
Instantiates.- Parameters:
defaultTeam- DefaultTeamManagement. May benull.
-
-
Method Details
-
executeFunction
Description copied from interface:FunctionLoopExecutes theFunctionStatewithin the currentThread.- Specified by:
executeFunctionin interfaceFunctionLoop- Parameters:
function-FunctionStateto execute.
-
delegateFunction
Description copied from interface:FunctionLoopDelegates theFunctionStateto the appropriateTeamto execute.- Specified by:
delegateFunctionin interfaceFunctionLoop- Parameters:
function-FunctionStateto delegate to aTeam.
-