Enum Class MetaType

java.lang.Object
java.lang.Enum<MetaType>
org.klomp.snark.v2.MetaType
All Implemented Interfaces:
Serializable, Comparable<MetaType>, Constable

public enum MetaType extends Enum<MetaType>
Enums for MetaInfo types we can create in Storage
Since:
0.9.71
  • Enum Constant Details

    • V1_ONLY

      public static final MetaType V1_ONLY
    • V1_PADDED

      public static final MetaType V1_PADDED
    • HYBRID

      public static final MetaType HYBRID
    • HYBRID_NO_LAYERS

      public static final MetaType HYBRID_NO_LAYERS
    • V2_ONLY

      public static final MetaType V2_ONLY
    • V2_NO_LAYERS

      public static final MetaType V2_NO_LAYERS
  • Method Details

    • values

      public static MetaType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MetaType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null