Package net.officefloor.frame.test
Class TestManagedObject.TestRecycle
- java.lang.Object
-
- net.officefloor.frame.api.function.StaticManagedFunction<O,F>
-
- net.officefloor.frame.test.TestManagedObject.TestRecycle
-
- All Implemented Interfaces:
ManagedFunction<O,F>
,ManagedFunctionFactory<O,F>
- Enclosing class:
- TestManagedObject<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
public class TestManagedObject.TestRecycle extends StaticManagedFunction<O,F>
Recycles theManagedObject
.
-
-
Constructor Summary
Constructors Constructor Description TestRecycle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(ManagedFunctionContext<O,F> context)
Executes the function.-
Methods inherited from class net.officefloor.frame.api.function.StaticManagedFunction
createManagedFunction
-
-
-
-
Method Detail
-
execute
public void execute(ManagedFunctionContext<O,F> context) throws java.lang.Throwable
Description copied from interface:ManagedFunction
Executes the function.- Parameters:
context
-ManagedFunctionContext
for theManagedFunction
.- Throws:
java.lang.Throwable
- Indicating failure of theManagedFunction
.
-
-