Class AbstractCompareFunctionHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract void compareInitialize()  
      abstract java.lang.String getActualFileName()  
      protected abstract AbstractDocumentToImageService getDocToImageService()  
      abstract java.lang.String getExpectedFileName()  
      protected abstract AbstractExtractionService getExtractionService​(java.util.Map<java.lang.String,​java.lang.String> props)  
      protected abstract java.lang.String getKeywordName()  
      protected abstract java.lang.String getScenarioDirProperty()  
      java.io.File getWorkingDir()  
      protected abstract java.lang.String getWorkingDirPath()  
      step.functions.io.Output<javax.json.JsonObject> handle​(step.functions.io.Input<javax.json.JsonObject> input)  
      void initialize()  
      protected java.io.InputStream readAttachment​(step.functions.io.Input<javax.json.JsonObject> input, java.lang.String attachmentName)  
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractCompareFunctionHandler

        public AbstractCompareFunctionHandler()
    • Method Detail

      • getScenarioDirProperty

        protected abstract java.lang.String getScenarioDirProperty()
      • getKeywordName

        protected abstract java.lang.String getKeywordName()
      • getExtractionService

        protected abstract AbstractExtractionService getExtractionService​(java.util.Map<java.lang.String,​java.lang.String> props)
      • getActualFileName

        public abstract java.lang.String getActualFileName()
      • getExpectedFileName

        public abstract java.lang.String getExpectedFileName()
      • handle

        public step.functions.io.Output<javax.json.JsonObject> handle​(step.functions.io.Input<javax.json.JsonObject> input)
                                                               throws java.lang.Exception
        Specified by:
        handle in class step.functions.handler.AbstractFunctionHandler<javax.json.JsonObject,​javax.json.JsonObject>
        Throws:
        java.lang.Exception
      • readAttachment

        protected java.io.InputStream readAttachment​(step.functions.io.Input<javax.json.JsonObject> input,
                                                     java.lang.String attachmentName)
      • getWorkingDirPath

        protected abstract java.lang.String getWorkingDirPath()
      • getWorkingDir

        public java.io.File getWorkingDir()
      • compareInitialize

        protected abstract void compareInitialize()
      • initialize

        public void initialize()
        Overrides:
        initialize in class step.functions.handler.AbstractFunctionHandler<javax.json.JsonObject,​javax.json.JsonObject>