Package com.perforce.p4java.admin
Enum Class ServerConfigurationValue.ConfigType
java.lang.Object
java.lang.Enum<ServerConfigurationValue.ConfigType>
com.perforce.p4java.admin.ServerConfigurationValue.ConfigType
- All Implemented Interfaces:
Serializable,Comparable<ServerConfigurationValue.ConfigType>,Constable
- Enclosing class:
- ServerConfigurationValue
public static enum ServerConfigurationValue.ConfigType
extends Enum<ServerConfigurationValue.ConfigType>
Currently-known server configuration value types. Deliberately not
explained here -- see the main Perforce admin documentation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionfromString(String str) Tolerant case-insensitive version of fromString.Returns the enum constant of this class with the specified name.static ServerConfigurationValue.ConfigType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
The default. -
UNKNOWN
The unknown. -
OPTION
The option. -
ENVIRONMENT
The environment. -
TUNABLE
The tunable. -
CONFIGURE
The configure.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
fromString
Tolerant case-insensitive version of fromString.- Parameters:
str- possibly-null candidate string.- Returns:
- corresponding ConfigType, or UNKNOWN if str was null or didn't seem to correspond to any known config type.
-