Package step.functions.manager
Class FunctionManagerImpl
java.lang.Object
step.functions.manager.FunctionManagerImpl
- All Implemented Interfaces:
FunctionManager
-
Constructor Summary
ConstructorDescriptionFunctionManagerImpl
(FunctionAccessor functionRepository, FunctionTypeRegistry functionTypeRegistry) -
Method Summary
Modifier and TypeMethodDescriptioncopyFunction
(String functionId) void
deleteFunction
(String functionId) getFunctionByAttributes
(Map<String, String> attributes) protected AbstractFunctionType<Function>
getFunctionType
(Function function) newFunction
(String functionType) newFunction
(String functionType, Map<String, String> configuration) saveFunction
(Function function)
-
Constructor Details
-
FunctionManagerImpl
public FunctionManagerImpl(FunctionAccessor functionRepository, FunctionTypeRegistry functionTypeRegistry)
-
-
Method Details
-
saveFunction
public Function saveFunction(Function function) throws SetupFunctionException, FunctionTypeException - Specified by:
saveFunction
in interfaceFunctionManager
- Throws:
SetupFunctionException
FunctionTypeException
-
copyFunction
- Specified by:
copyFunction
in interfaceFunctionManager
- Throws:
FunctionTypeException
-
deleteFunction
- Specified by:
deleteFunction
in interfaceFunctionManager
- Throws:
FunctionTypeException
-
newFunction
- Specified by:
newFunction
in interfaceFunctionManager
-
newFunction
- Specified by:
newFunction
in interfaceFunctionManager
-
getFunctionType
-
getFunctionByAttributes
- Specified by:
getFunctionByAttributes
in interfaceFunctionManager
-
getFunctionById
- Specified by:
getFunctionById
in interfaceFunctionManager
-