Enum ConfigManager.Field

    • Method Detail

      • values

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

        public static ConfigManager.Field 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
      • getField

        public java.lang.String getField()
      • getType

        public java.lang.Class<?> getType()
      • getBoolean

        public boolean getBoolean()
      • getString

        public java.lang.String getString()
      • getDefault

        public java.lang.Object getDefault()
      • init

        public static void init​(net.md_5.bungee.config.Configuration config)