Enum ClientMessage.ClientMessageId
- java.lang.Object
-
- java.lang.Enum<ClientMessage.ClientMessageId>
-
- com.perforce.p4java.impl.mapbased.rpc.func.client.ClientMessage.ClientMessageId
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ClientMessage.ClientMessageId>
- Enclosing class:
- ClientMessage
public static enum ClientMessage.ClientMessageId extends java.lang.Enum<ClientMessage.ClientMessageId>
Basic message ID. Order here is not important; explanation of each ID's meaning is generally given with the associated error string -- see the static ClientMessage array below...Not all codes are currently applicable, and some of these codes as P4Java-specific.
Note that ID's are NOT the same as error codes; codes are given below for each message as copied from the C++ API, and those codes are significant (and should be the same as the corresponding C++ API client message code) but are basically intended to be opaque here.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientMessage.ClientMessageId
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ClientMessage.ClientMessageId[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final ClientMessage.ClientMessageId UNKNOWN
-
CONNECT_FAILED
public static final ClientMessage.ClientMessageId CONNECT_FAILED
-
FATAL_CLIENT_ERROR
public static final ClientMessage.ClientMessageId FATAL_CLIENT_ERROR
-
CANT_CLOBBER
public static final ClientMessage.ClientMessageId CANT_CLOBBER
-
CANT_CREATE_DIR
public static final ClientMessage.ClientMessageId CANT_CREATE_DIR
-
CANT_EDIT_FILE_TYPE
public static final ClientMessage.ClientMessageId CANT_EDIT_FILE_TYPE
-
OUT_OF_RESOURCES
public static final ClientMessage.ClientMessageId OUT_OF_RESOURCES
-
ASSUMING_FILE_TYPE
public static final ClientMessage.ClientMessageId ASSUMING_FILE_TYPE
-
SUBSTITUTING_FILE_TYPE
public static final ClientMessage.ClientMessageId SUBSTITUTING_FILE_TYPE
-
CANT_ADD_FILE_TYPE
public static final ClientMessage.ClientMessageId CANT_ADD_FILE_TYPE
-
CANT_OVERWRITE_FILE
public static final ClientMessage.ClientMessageId CANT_OVERWRITE_FILE
-
CANT_DELETE_FILE
public static final ClientMessage.ClientMessageId CANT_DELETE_FILE
-
CANT_CREATE_FILE
public static final ClientMessage.ClientMessageId CANT_CREATE_FILE
-
CANT_CREATE_FILE_TYPE
public static final ClientMessage.ClientMessageId CANT_CREATE_FILE_TYPE
-
FILE_WRITE_ERROR
public static final ClientMessage.ClientMessageId FILE_WRITE_ERROR
-
FILE_NONEXISTENT
public static final ClientMessage.ClientMessageId FILE_NONEXISTENT
-
FILE_MISSING_ASSUMING_TYPE
public static final ClientMessage.ClientMessageId FILE_MISSING_ASSUMING_TYPE
-
FILE_SEND_ERROR
public static final ClientMessage.ClientMessageId FILE_SEND_ERROR
-
FILE_MOVE_ERROR
public static final ClientMessage.ClientMessageId FILE_MOVE_ERROR
-
MERGE_MESSAGE3
public static final ClientMessage.ClientMessageId MERGE_MESSAGE3
-
OS_FILE_READ_ERROR
public static final ClientMessage.ClientMessageId OS_FILE_READ_ERROR
-
CANT_CHMOD_FILE
public static final ClientMessage.ClientMessageId CANT_CHMOD_FILE
-
DIGEST_MISMATCH
public static final ClientMessage.ClientMessageId DIGEST_MISMATCH
-
FILE_OPEN_ERROR
public static final ClientMessage.ClientMessageId FILE_OPEN_ERROR
-
FILE_DECODER_ERROR
public static final ClientMessage.ClientMessageId FILE_DECODER_ERROR
-
FILE_ENCODER_ERROR
public static final ClientMessage.ClientMessageId FILE_ENCODER_ERROR
-
NO_MODIFIED_FILE
public static final ClientMessage.ClientMessageId NO_MODIFIED_FILE
-
NOT_UNDER_CLIENT_PATH
public static final ClientMessage.ClientMessageId NOT_UNDER_CLIENT_PATH
-
DIR_NOT_EMPTY
public static final ClientMessage.ClientMessageId DIR_NOT_EMPTY
-
-
Method Detail
-
values
public static ClientMessage.ClientMessageId[] 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 (ClientMessage.ClientMessageId c : ClientMessage.ClientMessageId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientMessage.ClientMessageId 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
-
-