public abstract class AbstractScriptFunctionType<T extends GeneralScriptFunction>
extends step.functions.type.AbstractFunctionType<T>
| Modifier and Type | Field and Description |
|---|---|
protected step.commons.conf.Configuration |
configuration |
protected File |
daemonJar |
static Map<String,String> |
fileExtensionMap |
static Map<String,String> |
scriptEngineMap |
| Constructor and Description |
|---|
AbstractScriptFunctionType() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPluginLibsIfRequired(String scriptLanguage,
Map<String,String> props) |
protected File |
getDefaultScriptFile(GeneralScriptFunction function) |
String |
getHandlerChain(GeneralScriptFunction function) |
step.grid.filemanager.FileVersionId |
getHandlerPackage(GeneralScriptFunction function) |
Map<String,String> |
getHandlerProperties(T function) |
File |
getScriptFile(T function) |
protected String |
getScriptLanguage(GeneralScriptFunction conf) |
void |
init() |
protected File |
setupScriptFile(GeneralScriptFunction function,
InputStream templateStream) |
protected File |
setupScriptFile(GeneralScriptFunction function,
String templateFilename) |
protected File daemonJar
protected step.commons.conf.Configuration configuration
public void init()
init in class step.functions.type.AbstractFunctionType<T extends GeneralScriptFunction>public Map<String,String> getHandlerProperties(T function)
getHandlerProperties in class step.functions.type.AbstractFunctionType<T extends GeneralScriptFunction>protected void addPluginLibsIfRequired(String scriptLanguage, Map<String,String> props)
public String getHandlerChain(GeneralScriptFunction function)
getHandlerChain in class step.functions.type.AbstractFunctionType<T extends GeneralScriptFunction>public step.grid.filemanager.FileVersionId getHandlerPackage(GeneralScriptFunction function)
getHandlerPackage in class step.functions.type.AbstractFunctionType<T extends GeneralScriptFunction>protected File getDefaultScriptFile(GeneralScriptFunction function)
protected String getScriptLanguage(GeneralScriptFunction conf)
protected File setupScriptFile(GeneralScriptFunction function, String templateFilename) throws step.functions.type.SetupFunctionException
step.functions.type.SetupFunctionExceptionprotected File setupScriptFile(GeneralScriptFunction function, InputStream templateStream) throws step.functions.type.SetupFunctionException
step.functions.type.SetupFunctionExceptionCopyright © 2019. All rights reserved.