com.perforce.p4java.admin
Enum ServerConfigurationValue.ConfigType
java.lang.Object
java.lang.Enum<ServerConfigurationValue.ConfigType>
com.perforce.p4java.admin.ServerConfigurationValue.ConfigType
- All Implemented Interfaces:
- Serializable, Comparable<ServerConfigurationValue.ConfigType>
- 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.
UNKNOWN
public static final ServerConfigurationValue.ConfigType UNKNOWN
OPTION
public static final ServerConfigurationValue.ConfigType OPTION
ENVIRONMENT
public static final ServerConfigurationValue.ConfigType ENVIRONMENT
TUNABLE
public static final ServerConfigurationValue.ConfigType TUNABLE
CONFIGURE
public static final ServerConfigurationValue.ConfigType CONFIGURE
values
public static ServerConfigurationValue.ConfigType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ServerConfigurationValue.ConfigType c : ServerConfigurationValue.ConfigType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ServerConfigurationValue.ConfigType valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
fromString
public static ServerConfigurationValue.ConfigType fromString(String str)
- 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.
Copyright © 2015 Perforce Software. All Rights Reserved.