public static enum FileCache.DirectoryProperties extends java.lang.Enum<FileCache.DirectoryProperties>
| Enum Constant and Description |
|---|
HASH
The properties include the hash of the given directory.
|
PATH_HASH
The properties include the (not-yet-normalized) path and hash of the given directory.
|
| Modifier and Type | Method and Description |
|---|---|
static FileCache.DirectoryProperties |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileCache.DirectoryProperties[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileCache.DirectoryProperties HASH
The directory's hash is computed from the following:
This is the recommended way of constructing the cache inputs for a directory. Note
that the properties do not include the path or name of the given directory. Clients can
consider using PATH_HASH to also include the directory's path in the cache
inputs (typically for debugging purposes).
public static final FileCache.DirectoryProperties PATH_HASH
The directory's hash is defined as in HASH.
This option is similar to HASH except that the directory's path is also
included in the cache inputs, typically for debugging purposes (e.g., to find out what
directory a cache entry is created from).
public static FileCache.DirectoryProperties[] values()
for (FileCache.DirectoryProperties c : FileCache.DirectoryProperties.values()) System.out.println(c);
public static FileCache.DirectoryProperties 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