|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<P4JFileAction> com.perforce.p4java.core.file.P4JFileAction
public enum P4JFileAction
Defines the possible Perforce actions that can be associated with a Perforce file, including synchronization actions. Also used to indicate open status for files on pending changelists, etc.
Basically self-explanatory if you have much experience with Perforce, but if not, the main Perforce documentation goes into great detail about each of these actions.
Enum Constant Summary | |
---|---|
ABANDONED
|
|
ADD
|
|
ADDED
|
|
BRANCH
|
|
DELETE
|
|
EDIT
|
|
EDIT_IGNORED
|
|
IGNORED
|
|
INTEGRATE
|
|
MOVE
|
|
MOVE_ADD
|
|
MOVE_DELETE
|
|
REFRESHED
|
|
SYNC
|
|
UPDATED
|
Method Summary | |
---|---|
static P4JFileAction |
fromString(java.lang.String str)
A user-friendly fail-safe way to convert from strings to file actions without generating exceptions, etc. |
java.lang.String |
toString()
|
static P4JFileAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static P4JFileAction[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final P4JFileAction ADD
public static final P4JFileAction BRANCH
public static final P4JFileAction EDIT
public static final P4JFileAction INTEGRATE
public static final P4JFileAction DELETE
public static final P4JFileAction SYNC
public static final P4JFileAction UPDATED
public static final P4JFileAction ADDED
public static final P4JFileAction REFRESHED
public static final P4JFileAction IGNORED
public static final P4JFileAction ABANDONED
public static final P4JFileAction EDIT_IGNORED
public static final P4JFileAction MOVE
public static final P4JFileAction MOVE_ADD
public static final P4JFileAction MOVE_DELETE
Method Detail |
---|
public static P4JFileAction[] values()
for (P4JFileAction c : P4JFileAction.values()) System.out.println(c);
public static P4JFileAction valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static P4JFileAction fromString(java.lang.String str)
str
- upper, lower, or mixed-case candidate string, or null
public java.lang.String toString()
toString
in class java.lang.Enum<P4JFileAction>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |