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
-
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
ConstructorDescriptionJavaFunctionPackageHandler
(FileResolver fileResolver, ch.exense.commons.app.Configuration config) -
Method Summary
Modifier and TypeMethodDescriptionbuildFunctions
(FunctionPackage functionPackage, boolean preview, step.core.objectenricher.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 Details
-
JavaFunctionPackageHandler
public JavaFunctionPackageHandler(FileResolver fileResolver, ch.exense.commons.app.Configuration config)
-
-
Method Details
-
buildFunctions
public List<Function> buildFunctions(FunctionPackage functionPackage, boolean preview, step.core.objectenricher.ObjectEnricher objectEnricher) throws Exception - Specified by:
buildFunctions
in interfaceFunctionPackageHandler
- Specified by:
buildFunctions
in classAbstractFunctionPackageHandler
- Throws:
Exception
-
configureFunction
- Specified by:
configureFunction
in classAbstractFunctionPackageHandler
-
isValidForPackage
- Specified by:
isValidForPackage
in interfaceFunctionPackageHandler
- Specified by:
isValidForPackage
in classAbstractFunctionPackageHandler
-