Enum Class CfgType

java.lang.Object
java.lang.Enum<CfgType>
org.qiunet.cfg.wrapper.CfgType
All Implemented Interfaces:
Serializable, Comparable<CfgType>, Constable

public enum CfgType extends Enum<CfgType>
Author:
qiunet 2020-04-23 17:10
  • Enum Constant Details

    • SIMPLE_MAP

      public static final CfgType SIMPLE_MAP
    • NEST_LIST

      public static final CfgType NEST_LIST
    • NEST_MAP

      public static final CfgType NEST_MAP
  • Method Details

    • values

      public static CfgType[] 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 CfgType 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
    • createCfgWrapper

      public static void createCfgWrapper(Class<? extends ICfg> clazz)
    • getCfgWrapper

      public static <T extends ICfgWrapper> T getCfgWrapper(Class clazz)