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 FileResolver
protected FunctionTypeConfiguration
protected step.grid.GridFileService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeFunctionCall
(T function, step.functions.io.Input<?> input, Map<String, String> properties) copyFunction
(T function) void
deleteFunction
(T function) abstract String
getHandlerChain
(T function) step.grid.filemanager.FileVersionId
getHandlerPackage
(T function) getHandlerProperties
(T function) getTokenSelectionCriteria
(T function) protected void
init()
abstract T
newFunction
(Map<String, String> configuration) protected step.grid.filemanager.FileVersionId
registerFile
(File file) protected void
protected step.grid.filemanager.FileVersionId
registerFile
(String filepath) protected void
registerFile
(DynamicValue<String> dynamicValue, String properyName, Map<String, String> props) protected step.grid.filemanager.FileVersionId
registerResource
(ClassLoader cl, String resourceName, boolean isDirectory) protected void
registerResource
(ClassLoader cl, String resourceName, boolean isDirectory, String properyName, Map<String, String> props) protected void
setFileResolver
(FileResolver fileResolver) protected void
setFunctionTypeConfiguration
(FunctionTypeConfiguration functionTypeConfiguration) protected void
setGridFileServices
(step.grid.GridFileService gridFileServices) void
setupFunction
(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
-