Package step.plugins.java
Class AbstractScriptFunctionType<T extends GeneralScriptFunction>
java.lang.Object
step.functions.type.AbstractFunctionType<T>
step.plugins.java.AbstractScriptFunctionType<T>
- Direct Known Subclasses:
GeneralScriptFunctionType
public abstract class AbstractScriptFunctionType<T extends GeneralScriptFunction>
extends AbstractFunctionType<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ch.exense.commons.app.Configurationprotected step.grid.filemanager.FileVersionIdFields inherited from class step.functions.type.AbstractFunctionType
fileResolver, fileResolverCache, functionTypeConfiguration, gridFileServices -
Constructor Summary
ConstructorsConstructorDescriptionAbstractScriptFunctionType(ch.exense.commons.app.Configuration configuration) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddPluginLibsIfRequired(String scriptLanguage, Map<String, String> props) copyFunction(T function) protected FilegetDefaultScriptFile(GeneralScriptFunction function, String scriptDir) getHandlerChain(GeneralScriptFunction function) step.grid.filemanager.FileVersionIdgetHandlerPackage(GeneralScriptFunction function) getHandlerProperties(T function) getScriptFile(T function) protected Stringvoidinit()protected FilesetupScriptFile(GeneralScriptFunction function, InputStream templateStream) protected FilesetupScriptFile(GeneralScriptFunction function, InputStream templateStream, String scriptDir) protected FilesetupScriptFile(GeneralScriptFunction function, String templateFilename) Methods inherited from class step.functions.type.AbstractFunctionType
beforeFunctionCall, deleteFunction, getTokenSelectionCriteria, newFunction, newFunction, registerFile, registerFile, registerFile, registerFile, registerResource, registerResource, setFileResolver, setFunctionTypeConfiguration, setGridFileServices, setupFunction, updateFunction
-
Field Details
-
daemonJar
protected step.grid.filemanager.FileVersionId daemonJar -
configuration
protected ch.exense.commons.app.Configuration configuration -
fileExtensionMap
-
-
Constructor Details
-
AbstractScriptFunctionType
public AbstractScriptFunctionType(ch.exense.commons.app.Configuration configuration)
-
-
Method Details
-
init
public void init()- Overrides:
initin classAbstractFunctionType<T extends GeneralScriptFunction>
-
getHandlerProperties
- Specified by:
getHandlerPropertiesin classAbstractFunctionType<T extends GeneralScriptFunction>
-
addPluginLibsIfRequired
-
getHandlerChain
- Specified by:
getHandlerChainin classAbstractFunctionType<T extends GeneralScriptFunction>
-
getHandlerPackage
- Overrides:
getHandlerPackagein classAbstractFunctionType<T extends GeneralScriptFunction>
-
getDefaultScriptFile
-
getScriptLanguage
-
setupScriptFile
protected File setupScriptFile(GeneralScriptFunction function, String templateFilename) throws SetupFunctionException - Throws:
SetupFunctionException
-
setupScriptFile
protected File setupScriptFile(GeneralScriptFunction function, InputStream templateStream) throws SetupFunctionException - Throws:
SetupFunctionException
-
setupScriptFile
protected File setupScriptFile(GeneralScriptFunction function, InputStream templateStream, String scriptDir) throws SetupFunctionException - Throws:
SetupFunctionException
-
copyFunction
- Overrides:
copyFunctionin classAbstractFunctionType<T extends GeneralScriptFunction>- Throws:
FunctionTypeException
-
getScriptFile
-