Enum Class ConfigType

java.lang.Object
java.lang.Enum<ConfigType>
org.jppf.admin.web.admin.ConfigType
All Implemented Interfaces:
Serializable, Comparable<ConfigType>, Constable

public enum ConfigType extends Enum<ConfigType>
The types of configurations handled in the admin panels.
  • Enum Constant Details

    • CLIENT

      public static final ConfigType CLIENT
      The JPPF client configuration.
    • SSL

      public static final ConfigType SSL
      The SSL/TLS configuration.
  • Method Details

    • values

      public static ConfigType[] 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 ConfigType 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
    • getHash

      public String getHash()
      Returns:
      a hash of the name given to the config.
    • getPrefix

      public String getPrefix()
      Returns:
      the prefix for component ids in the corresponding panel. The prefix does not end with a dot.
    • getDefaultPath

      public String getDefaultPath()
      Returns:
      the default path for the configuration file.