public static enum TextFileSnapshot.Layer extends java.lang.Enum<TextFileSnapshot.Layer>
Enum Constant and Description |
---|
FILESYSTEM
Indicates that the snapshot is to be taken directly from
the file system, bypassing the workspace.
|
WORKSPACE
Indicates that the snapshot is to be taken from the workspace,
which may be out of sync with the file system.
|
Modifier and Type | Method and Description |
---|---|
static TextFileSnapshot.Layer |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextFileSnapshot.Layer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextFileSnapshot.Layer WORKSPACE
public static final TextFileSnapshot.Layer FILESYSTEM
public static TextFileSnapshot.Layer[] values()
for (TextFileSnapshot.Layer c : TextFileSnapshot.Layer.values()) System.out.println(c);
public static TextFileSnapshot.Layer 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 nullCopyright (c) 2014, 2019 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0