public static enum IMapEntry.EntryType extends java.lang.Enum<IMapEntry.EntryType>
Enum Constant and Description |
---|
DITTO
Specifies this is an "ditto" mapping; this means that
the map duplicates this path and its children.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static IMapEntry.EntryType |
fromString(java.lang.String str)
Return a suitable EntryType as inferred from the passed-in
string, which is assumed to be a Perforce view map path string.
|
java.lang.String |
getSymbol() |
java.lang.String |
toString()
Return a more useful string than "EXCLUDE" or "OVERLAY", i.e.
|
static IMapEntry.EntryType |
valueOf(java.lang.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.
|
public static final IMapEntry.EntryType INCLUDE
public static final IMapEntry.EntryType EXCLUDE
public static final IMapEntry.EntryType OVERLAY
public static final IMapEntry.EntryType DITTO
public static IMapEntry.EntryType[] values()
for (IMapEntry.EntryType c : IMapEntry.EntryType.values()) System.out.println(c);
public static IMapEntry.EntryType 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getSymbol()
public static IMapEntry.EntryType fromString(java.lang.String str)
str
- strpublic java.lang.String toString()
toString
in class java.lang.Enum<IMapEntry.EntryType>