public static enum FileSystemSettings.Persistence extends java.lang.Enum<FileSystemSettings.Persistence>
Enum Constant and Description |
---|
ALWAYS
Files persist indefinitely, and the server is only contacted when a file
is not available locally.
|
EXPIRES
Files persist until a new version is available on the remote cache.
|
NONE
No persistence.
|
SESSION
Within a session, files are cached locally.
|
Modifier and Type | Method and Description |
---|---|
static FileSystemSettings.Persistence |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileSystemSettings.Persistence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileSystemSettings.Persistence NONE
public static final FileSystemSettings.Persistence SESSION
public static final FileSystemSettings.Persistence EXPIRES
public static final FileSystemSettings.Persistence ALWAYS
public static FileSystemSettings.Persistence[] values()
for (FileSystemSettings.Persistence c : FileSystemSettings.Persistence.values()) System.out.println(c);
public static FileSystemSettings.Persistence 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 null