public static enum IMapEntry.EntryType extends Enum<IMapEntry.EntryType>
Enum Constant and Description |
---|
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(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.
|
public static final IMapEntry.EntryType INCLUDE
public static final IMapEntry.EntryType EXCLUDE
public static final IMapEntry.EntryType OVERLAY
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 nameNullPointerException
- if the argument is nullpublic static IMapEntry.EntryType fromString(String str)
public String toString()
toString
in class Enum<IMapEntry.EntryType>
Copyright © 2017 Perforce Software. All Rights Reserved.