Package step.functions.packages.handlers
Class JavaFunctionPackageHandler
- java.lang.Object
-
- step.functions.packages.handlers.FunctionPackageUtils
-
- step.functions.packages.handlers.AbstractFunctionPackageHandler
-
- step.functions.packages.handlers.JavaFunctionPackageHandler
-
- All Implemented Interfaces:
FunctionPackageHandler
- Direct Known Subclasses:
RepositoryArtifactFunctionPackageHandler
public class JavaFunctionPackageHandler extends AbstractFunctionPackageHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class step.functions.packages.handlers.FunctionPackageUtils
FunctionPackageUtils.DiscovererParameters
-
-
Field Summary
-
Fields inherited from class step.functions.packages.handlers.FunctionPackageUtils
fileResolver, READY_STRING
-
-
Constructor Summary
Constructors Constructor Description JavaFunctionPackageHandler(FileResolver fileResolver, ch.exense.commons.app.Configuration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Function>
buildFunctions(FunctionPackage functionPackage, boolean preview, ObjectEnricher objectEnricher)
protected void
configureFunction(Function f, FunctionPackage functionPackage)
boolean
isValidForPackage(FunctionPackage functionPackage)
-
Methods inherited from class step.functions.packages.handlers.AbstractFunctionPackageHandler
getFunctionsFromDaemon
-
Methods inherited from class step.functions.packages.handlers.FunctionPackageUtils
resolveFile, resolveMandatoryFile
-
-
-
-
Constructor Detail
-
JavaFunctionPackageHandler
public JavaFunctionPackageHandler(FileResolver fileResolver, ch.exense.commons.app.Configuration config)
-
-
Method Detail
-
buildFunctions
public List<Function> buildFunctions(FunctionPackage functionPackage, boolean preview, ObjectEnricher objectEnricher) throws Exception
- Specified by:
buildFunctions
in interfaceFunctionPackageHandler
- Specified by:
buildFunctions
in classAbstractFunctionPackageHandler
- Throws:
Exception
-
configureFunction
protected void configureFunction(Function f, FunctionPackage functionPackage)
- Specified by:
configureFunction
in classAbstractFunctionPackageHandler
-
isValidForPackage
public boolean isValidForPackage(FunctionPackage functionPackage)
- Specified by:
isValidForPackage
in interfaceFunctionPackageHandler
- Specified by:
isValidForPackage
in classAbstractFunctionPackageHandler
-
-