com.perforce.p4java.server
Enum IServerImplMetadata.ImplType

java.lang.Object
  extended by java.lang.Enum<IServerImplMetadata.ImplType>
      extended by com.perforce.p4java.server.IServerImplMetadata.ImplType
All Implemented Interfaces:
Serializable, Comparable<IServerImplMetadata.ImplType>
Enclosing interface:
IServerImplMetadata

public static enum IServerImplMetadata.ImplType
extends 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
NATIVE_RPC
          Java-native RPC protocol implementation.
UNKNOWN
          Type is unknown.
 
Method Summary
static IServerImplMetadata.ImplType valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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(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


Copyright © 2015 Perforce Software. All Rights Reserved.