Interface FailJobCommandStep1.FailJobCommandStep2

    • Method Detail

      • errorMessage

        FailJobCommandStep1.FailJobCommandStep2 errorMessage​(String errorMsg)
        Provide an error message describing the reason for the job failure. If failing the job creates an incident, this error message will be used as incident message.
        Parameters:
        errorMsg - error message to be attached to the failed job
        Returns:
        the builder for this command. Call FinalCommandStep.send() to complete the command and send it to the broker.