Package step.plugins.pdftest
Class PdfTestFunctionHandler
- java.lang.Object
-
- step.functions.handler.AbstractFunctionHandler<javax.json.JsonObject,javax.json.JsonObject>
-
- step.functions.handler.JsonBasedFunctionHandler
-
- step.plugins.compare.AbstractCompareFunctionHandler
-
- step.plugins.pdftest.PdfTestFunctionHandler
-
public class PdfTestFunctionHandler extends AbstractCompareFunctionHandler
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOMPARE_ACTUAL_FILEstatic java.lang.StringCOMPARE_EXPECTED_FILEstatic java.lang.StringCOMPARE_WORKING_DIR_DEFAULTstatic java.lang.StringCOMPARE_WORKING_DIR_PROPstatic java.lang.StringPDF_COMPARE_KW_NAMEstatic java.lang.StringPDFTEST_SCENARIO_DIR_FILE-
Fields inherited from class step.plugins.compare.AbstractCompareFunctionHandler
ACTUAL, ACTUAL_FILE_ON_AGENT, compareScenarioServices, DEFAULT_LINE_HEIGHT, EXPECTED, EXPECTED_FILE_ON_AGENT, LINE_HEIGHT_PROP
-
-
Constructor Summary
Constructors Constructor Description PdfTestFunctionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcompareInitialize()java.lang.StringgetActualFileName()protected AbstractDocumentToImageServicegetDocToImageService()java.lang.StringgetExpectedFileName()protected AbstractExtractionServicegetExtractionService(java.util.Map<java.lang.String,java.lang.String> props)protected java.lang.StringgetKeywordName()protected java.lang.StringgetScenarioDirProperty()protected java.lang.StringgetWorkingDirPath()-
Methods inherited from class step.plugins.compare.AbstractCompareFunctionHandler
getWorkingDir, handle, initialize, readAttachment
-
Methods inherited from class step.functions.handler.JsonBasedFunctionHandler
getInputPayloadClass, getOutputPayloadClass
-
Methods inherited from class step.functions.handler.AbstractFunctionHandler
delegate, delegate, getCurrentContext, getCurrentContext, getFileVersionId, getFunctionHandlerFactory, getProperties, getTokenReservationSession, getTokenSession, mergeAllProperties, pushLocalApplicationContext, pushLocalApplicationContext, pushLocalFolderApplicationContext, pushLocalFolderApplicationContext, pushRemoteApplicationContext, pushRemoteApplicationContext, retrieveFileVersion, runInContext, runInContext, setApplicationContextBuilder, setFileManagerClient, setFunctionHandlerFactory, setProperties, setTokenReservationSession, setTokenSession
-
-
-
-
Field Detail
-
PDF_COMPARE_KW_NAME
public static final java.lang.String PDF_COMPARE_KW_NAME
- See Also:
- Constant Field Values
-
PDFTEST_SCENARIO_DIR_FILE
public static final java.lang.String PDFTEST_SCENARIO_DIR_FILE
- See Also:
- Constant Field Values
-
COMPARE_WORKING_DIR_PROP
public static final java.lang.String COMPARE_WORKING_DIR_PROP
- See Also:
- Constant Field Values
-
COMPARE_WORKING_DIR_DEFAULT
public static final java.lang.String COMPARE_WORKING_DIR_DEFAULT
- See Also:
- Constant Field Values
-
COMPARE_EXPECTED_FILE
public static final java.lang.String COMPARE_EXPECTED_FILE
- See Also:
- Constant Field Values
-
COMPARE_ACTUAL_FILE
public static final java.lang.String COMPARE_ACTUAL_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getScenarioDirProperty
protected java.lang.String getScenarioDirProperty()
- Specified by:
getScenarioDirPropertyin classAbstractCompareFunctionHandler
-
getKeywordName
protected java.lang.String getKeywordName()
- Specified by:
getKeywordNamein classAbstractCompareFunctionHandler
-
getDocToImageService
protected AbstractDocumentToImageService getDocToImageService()
- Specified by:
getDocToImageServicein classAbstractCompareFunctionHandler
-
getExtractionService
protected AbstractExtractionService getExtractionService(java.util.Map<java.lang.String,java.lang.String> props)
- Specified by:
getExtractionServicein classAbstractCompareFunctionHandler
-
getActualFileName
public java.lang.String getActualFileName()
- Specified by:
getActualFileNamein classAbstractCompareFunctionHandler
-
getExpectedFileName
public java.lang.String getExpectedFileName()
- Specified by:
getExpectedFileNamein classAbstractCompareFunctionHandler
-
getWorkingDirPath
protected java.lang.String getWorkingDirPath()
- Specified by:
getWorkingDirPathin classAbstractCompareFunctionHandler
-
compareInitialize
protected void compareInitialize()
- Specified by:
compareInitializein classAbstractCompareFunctionHandler
-
-