|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<IMapEntry.EntryType> com.perforce.p4java.core.IMapEntry.EntryType
public static enum IMapEntry.EntryType
Defines the specific type of a given view map entry.
Enum Constant Summary | |
---|---|
EXCLUDE
Specifies this is an "exclude" mapping; this means that the map excludes this path and its children. |
|
INCLUDE
Specifies this is an "include" mapping; this means that the map includes this path and its children. |
|
OVERLAY
Specifies this is an "overlay" mapping; this means that the map overlays this path and its children. |
Method Summary | |
---|---|
static IMapEntry.EntryType |
fromString(String str)
Return a suitable EntryType as inferred from the passed-in string, which is assumed to be a Perforce view map path string. |
String |
toString()
Return a more useful string than "EXCLUDE" or "OVERLAY", i.e. |
static IMapEntry.EntryType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IMapEntry.EntryType[] |
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 IMapEntry.EntryType INCLUDE
public static final IMapEntry.EntryType EXCLUDE
public static final IMapEntry.EntryType OVERLAY
Method Detail |
---|
public static IMapEntry.EntryType[] values()
for (IMapEntry.EntryType c : IMapEntry.EntryType.values()) System.out.println(c);
public static IMapEntry.EntryType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static IMapEntry.EntryType fromString(String str)
public String toString()
toString
in class Enum<IMapEntry.EntryType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |