Class FailActivityTypeProperties


  • public final class FailActivityTypeProperties
    extends Object
    Fail activity properties.
    • Constructor Detail

      • FailActivityTypeProperties

        public FailActivityTypeProperties()
    • Method Detail

      • message

        public Object message()
        Get the message property: The error message that surfaced in the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string).
        Returns:
        the message value.
      • withMessage

        public FailActivityTypeProperties withMessage​(Object message)
        Set the message property: The error message that surfaced in the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string).
        Parameters:
        message - the message value to set.
        Returns:
        the FailActivityTypeProperties object itself.
      • errorCode

        public Object errorCode()
        Get the errorCode property: The error code that categorizes the error type of the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string).
        Returns:
        the errorCode value.
      • withErrorCode

        public FailActivityTypeProperties withErrorCode​(Object errorCode)
        Set the errorCode property: The error code that categorizes the error type of the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string).
        Parameters:
        errorCode - the errorCode value to set.
        Returns:
        the FailActivityTypeProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.