public class PdfTestFunctionType extends step.functions.type.AbstractFunctionType<PdfTestFunction>
| Modifier and Type | Field and Description | 
|---|---|
protected ch.exense.commons.app.Configuration | 
configuration  | 
protected step.grid.filemanager.FileVersionId | 
handlerJar  | 
protected File | 
scenarioDir  | 
| Constructor and Description | 
|---|
PdfTestFunctionType(File scenarioDir,
                   ch.exense.commons.app.Configuration configuration)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
addFileAsAttachment(step.functions.io.Input<?> input,
                   File file,
                   String attachmentName)  | 
void | 
beforeFunctionCall(PdfTestFunction function,
                  step.functions.io.Input<?> input,
                  Map<String,String> properties)  | 
protected void | 
checkFiles(File actualFile,
          File expectedFile)  | 
PdfTestFunction | 
copyFunction(PdfTestFunction function)  | 
protected String | 
createScenarioFile(PdfTestFunction function)  | 
void | 
deleteFunction(PdfTestFunction function)  | 
String | 
getHandlerChain(PdfTestFunction function)  | 
step.grid.filemanager.FileVersionId | 
getHandlerPackage(PdfTestFunction function)  | 
Map<String,String> | 
getHandlerProperties(PdfTestFunction function)  | 
protected File | 
getSessionDir(PdfTestFunction function)  | 
void | 
init()  | 
PdfTestFunction | 
newFunction()  | 
void | 
setupFunction(PdfTestFunction function)  | 
PdfTestFunction | 
updateFunction(PdfTestFunction function)  | 
protected void | 
updateScenarioName(PdfTestFunction function)  | 
protected step.grid.filemanager.FileVersionId handlerJar
protected final File scenarioDir
protected final ch.exense.commons.app.Configuration configuration
public PdfTestFunctionType(File scenarioDir, ch.exense.commons.app.Configuration configuration)
public void init()
init in class step.functions.type.AbstractFunctionType<PdfTestFunction>public String getHandlerChain(PdfTestFunction function)
getHandlerChain in class step.functions.type.AbstractFunctionType<PdfTestFunction>public step.grid.filemanager.FileVersionId getHandlerPackage(PdfTestFunction function)
getHandlerPackage in class step.functions.type.AbstractFunctionType<PdfTestFunction>public Map<String,String> getHandlerProperties(PdfTestFunction function)
getHandlerProperties in class step.functions.type.AbstractFunctionType<PdfTestFunction>public void beforeFunctionCall(PdfTestFunction function, step.functions.io.Input<?> input, Map<String,String> properties) throws step.functions.type.FunctionExecutionException
beforeFunctionCall in class step.functions.type.AbstractFunctionType<PdfTestFunction>step.functions.type.FunctionExecutionExceptionprotected void checkFiles(File actualFile, File expectedFile) throws step.functions.type.FunctionExecutionException
step.functions.type.FunctionExecutionExceptionprotected void addFileAsAttachment(step.functions.io.Input<?> input,
                                   File file,
                                   String attachmentName)
public PdfTestFunction newFunction()
newFunction in class step.functions.type.AbstractFunctionType<PdfTestFunction>public void setupFunction(PdfTestFunction function) throws step.functions.type.SetupFunctionException
setupFunction in class step.functions.type.AbstractFunctionType<PdfTestFunction>step.functions.type.SetupFunctionExceptionprotected String createScenarioFile(PdfTestFunction function) throws step.functions.type.SetupFunctionException
step.functions.type.SetupFunctionExceptionpublic PdfTestFunction updateFunction(PdfTestFunction function) throws step.functions.type.FunctionTypeException
updateFunction in class step.functions.type.AbstractFunctionType<PdfTestFunction>step.functions.type.FunctionTypeExceptionprotected void updateScenarioName(PdfTestFunction function) throws step.functions.type.FunctionTypeException
step.functions.type.FunctionTypeExceptionpublic PdfTestFunction copyFunction(PdfTestFunction function) throws step.functions.type.FunctionTypeException
copyFunction in class step.functions.type.AbstractFunctionType<PdfTestFunction>step.functions.type.FunctionTypeExceptionpublic void deleteFunction(PdfTestFunction function)
deleteFunction in class step.functions.type.AbstractFunctionType<PdfTestFunction>protected File getSessionDir(PdfTestFunction function)
Copyright © 2020. All rights reserved.