Interface EngineResponse

    • Method Detail

      • getStatus

        StatusCode getStatus()
        Returns:
        Enum StatusCode {OK,KO,FATAL}
      • getValue

        java.lang.String getValue()
        Returns:
        StatusCode value {OK,KO,FATAL}
      • setStatus

        EngineResponse setStatus​(StatusCode status)
        Parameters:
        status - ENUM statusCode
        Returns:
        EngineResponse
      • getOutcomeMessages

        java.util.Map<java.lang.String,​OutcomeMessage> getOutcomeMessages()
        Returns:
        list of functional error message
      • setOutcomeMessages

        EngineResponse setOutcomeMessages​(java.lang.String handlerId,
                                          OutcomeMessage messages)
        Parameters:
        messages - Outcome Messages of response
        handlerId - handler name or id
        Returns:
        EngineResponse
      • getErrorNumber

        int getErrorNumber()
        Returns:
        list of functional error message
      • setErrorNumber

        EngineResponse setErrorNumber​(int number)
        Parameters:
        number - the number of errors during the workflow
        Returns:
        EngineResponse
      • getMessageIdentifier

        java.lang.String getMessageIdentifier()
        Returns:
        message identifier of seda
      • setMessageIdentifier

        EngineResponse setMessageIdentifier​(java.lang.String message)
        Parameters:
        message - identifier of seda
        Returns:
        EngineResponse