Enum ParamType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ParamType>

    public enum ParamType
    extends java.lang.Enum<ParamType>
    Type names and serializers for various parameters that can be put in Message params map. It should be safe to add new params without bumping messaging version - Message serializer will skip over any params it doesn't recognise. Please don't add boolean params here. Extend and use MessageFlag instead.
    • Enum Constant Detail

      • FORWARD_TO

        public static final ParamType FORWARD_TO
      • RESPOND_TO

        public static final ParamType RESPOND_TO
      • FAILURE_RESPONSE

        @Deprecated
        public static final ParamType FAILURE_RESPONSE
        Deprecated.
      • FAILURE_REASON

        @Deprecated
        public static final ParamType FAILURE_REASON
        Deprecated.
      • FAILURE_CALLBACK

        @Deprecated
        public static final ParamType FAILURE_CALLBACK
        Deprecated.
      • TRACE_SESSION

        public static final ParamType TRACE_SESSION
      • TRACE_TYPE

        public static final ParamType TRACE_TYPE
      • TRACK_REPAIRED_DATA

        @Deprecated
        public static final ParamType TRACK_REPAIRED_DATA
        Deprecated.
    • Method Detail

      • values

        public static ParamType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ParamType c : ParamType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ParamType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null