Enum DataType

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

    public enum DataType
    extends java.lang.Enum<DataType>
    The enums of the allowable data type key names
    • Enum Constant Detail

      • API_VERSION

        public static final DataType API_VERSION
      • BLOCK_ADDED

        public static final DataType BLOCK_ADDED
      • DEPLOY_ACCEPTED

        public static final DataType DEPLOY_ACCEPTED
      • DEPLOY_EXPIRED

        public static final DataType DEPLOY_EXPIRED
      • DEPLOY_PROCESSED

        public static final DataType DEPLOY_PROCESSED
      • FAULT

        public static final DataType FAULT
      • FINALITY_SIGNATURE

        public static final DataType FINALITY_SIGNATURE
      • SHUTDOWN

        public static final DataType SHUTDOWN
      • STEP

        public static final DataType STEP
    • Method Detail

      • values

        public static DataType[] 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 (DataType c : DataType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DataType 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
      • of

        public static DataType of​(java.lang.Class dataTypeClass)
      • of

        public static DataType of​(java.lang.String dataTypeSimpleClassName)
      • getDataTypeName

        public java.lang.String getDataTypeName()