Interface ReplyHandlerContext


  • @API
    public interface ReplyHandlerContext
    The reply handler context provides contextual information used while evaluating the reply.
    Since:
    2015.3.0
    • Method Detail

      • getMessage

        <T> T getMessage()
        Returns the "message" containing the data that we will evaluate the reply with.
        Type Parameters:
        T - The type of message. Depends on the "source".
        Returns:
        The message
      • getJob

        EnoviaJob getJob()
        Returns:
        The original job, which this reply was made for.
      • getJobTransfer

        JobTransfer getJobTransfer()
        Returns:
        The original transfer, which this reply was made for.
      • result

        com.technia.tif.enovia.job.reply.config.Result result()
        Returns:
        The result instance that you can use to set the result status on.
      • setResult

        @Deprecated
        void setResult​(boolean success,
                       java.lang.String responseMessage)
        Deprecated.
        Use the method result() to obtain the result instance, and populate that with proper result status.
        Parameters:
        success -
        responseMessage -
      • setResult

        @Deprecated
        void setResult​(boolean success,
                       java.lang.String responseMessage,
                       java.util.Map<java.lang.String,​java.lang.String> responseMetaData)
        Deprecated.
        Use the method result() to obtain the result instance, and populate that with proper result status.
        Parameters:
        success -
        responseMessage -
        responseMetaData -