Package step.functions.type
Class AbstractFunctionType<T extends Function>
java.lang.Object
step.functions.type.AbstractFunctionType<T>
- Direct Known Subclasses:
AbstractScriptFunctionType,CompositeFunctionType,JMeterFunctionType,NodeFunctionType
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FileResolverprotected FunctionTypeConfigurationprotected step.grid.GridFileService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeFunctionCall(T function, step.functions.io.Input<?> input, Map<String, String> properties) copyFunction(T function) voiddeleteFunction(T function) abstract StringgetHandlerChain(T function) step.grid.filemanager.FileVersionIdgetHandlerPackage(T function) getHandlerProperties(T function) getTokenSelectionCriteria(T function) protected voidinit()abstract TnewFunction(Map<String, String> configuration) protected step.grid.filemanager.FileVersionIdregisterFile(File file) protected voidprotected step.grid.filemanager.FileVersionIdregisterFile(String filepath) protected voidregisterFile(DynamicValue<String> dynamicValue, String properyName, Map<String, String> props) protected step.grid.filemanager.FileVersionIdregisterResource(ClassLoader cl, String resourceName, boolean isDirectory) protected voidregisterResource(ClassLoader cl, String resourceName, boolean isDirectory, String properyName, Map<String, String> props) protected voidsetFileResolver(FileResolver fileResolver) protected voidsetFunctionTypeConfiguration(FunctionTypeConfiguration functionTypeConfiguration) protected voidsetGridFileServices(step.grid.GridFileService gridFileServices) voidsetupFunction(T function) updateFunction(T function)
-
Field Details
-
fileResolver
-
fileResolverCache
-
gridFileServices
protected step.grid.GridFileService gridFileServices -
functionTypeConfiguration
-
-
Constructor Details
-
AbstractFunctionType
public AbstractFunctionType()
-
-
Method Details
-
setFunctionTypeConfiguration
-
setFileResolver
-
setGridFileServices
protected void setGridFileServices(step.grid.GridFileService gridFileServices) -
init
protected void init() -
getTokenSelectionCriteria
-
getHandlerChain
-
getHandlerPackage
-
getHandlerProperties
-
beforeFunctionCall
public void beforeFunctionCall(T function, step.functions.io.Input<?> input, Map<String, String> properties) throws FunctionExecutionException- Throws:
FunctionExecutionException
-
newFunction
-
newFunction
-
setupFunction
- Throws:
SetupFunctionException
-
updateFunction
- Throws:
FunctionTypeException
-
copyFunction
- Throws:
FunctionTypeException
-
registerFile
-
registerFile
-
registerFile
-
registerResource
-
registerResource
protected step.grid.filemanager.FileVersionId registerResource(ClassLoader cl, String resourceName, boolean isDirectory) -
registerFile
-
deleteFunction
- Throws:
FunctionTypeException
-