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.String
COMPARE_ACTUAL_FILE
static java.lang.String
COMPARE_EXPECTED_FILE
static java.lang.String
COMPARE_WORKING_DIR_DEFAULT
static java.lang.String
COMPARE_WORKING_DIR_PROP
static java.lang.String
PDF_COMPARE_KW_NAME
static java.lang.String
PDFTEST_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 void
compareInitialize()
java.lang.String
getActualFileName()
protected AbstractDocumentToImageService
getDocToImageService()
java.lang.String
getExpectedFileName()
protected AbstractExtractionService
getExtractionService(java.util.Map<java.lang.String,java.lang.String> props)
protected java.lang.String
getKeywordName()
protected java.lang.String
getScenarioDirProperty()
protected java.lang.String
getWorkingDirPath()
-
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:
getScenarioDirProperty
in classAbstractCompareFunctionHandler
-
getKeywordName
protected java.lang.String getKeywordName()
- Specified by:
getKeywordName
in classAbstractCompareFunctionHandler
-
getDocToImageService
protected AbstractDocumentToImageService getDocToImageService()
- Specified by:
getDocToImageService
in classAbstractCompareFunctionHandler
-
getExtractionService
protected AbstractExtractionService getExtractionService(java.util.Map<java.lang.String,java.lang.String> props)
- Specified by:
getExtractionService
in classAbstractCompareFunctionHandler
-
getActualFileName
public java.lang.String getActualFileName()
- Specified by:
getActualFileName
in classAbstractCompareFunctionHandler
-
getExpectedFileName
public java.lang.String getExpectedFileName()
- Specified by:
getExpectedFileName
in classAbstractCompareFunctionHandler
-
getWorkingDirPath
protected java.lang.String getWorkingDirPath()
- Specified by:
getWorkingDirPath
in classAbstractCompareFunctionHandler
-
compareInitialize
protected void compareInitialize()
- Specified by:
compareInitialize
in classAbstractCompareFunctionHandler
-
-