Package com.perforce.p4java.server
Enum IServerImplMetadata.ImplType
- java.lang.Object
-
- java.lang.Enum<IServerImplMetadata.ImplType>
-
- com.perforce.p4java.server.IServerImplMetadata.ImplType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IServerImplMetadata.ImplType>
- Enclosing interface:
- IServerImplMetadata
public static enum IServerImplMetadata.ImplType extends java.lang.Enum<IServerImplMetadata.ImplType>
Describes the various known implementation types. There is currently only one implementation type, but this may change in the long term.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NATIVE_RPC
Java-native RPC protocol implementation.UNKNOWN
Type is unknown.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IServerImplMetadata.ImplType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IServerImplMetadata.ImplType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final IServerImplMetadata.ImplType UNKNOWN
Type is unknown. Don't use this implementation....
-
NATIVE_RPC
public static final IServerImplMetadata.ImplType NATIVE_RPC
Java-native RPC protocol implementation.
-
-
Method Detail
-
values
public static IServerImplMetadata.ImplType[] 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 (IServerImplMetadata.ImplType c : IServerImplMetadata.ImplType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IServerImplMetadata.ImplType 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 namejava.lang.NullPointerException
- if the argument is null
-
-