public static enum FileMetric.FileMetricKind extends Enum<FileMetric.FileMetricKind>
Enum Constant and Description |
---|
DIR
count of the number of entries in the directory
|
FILE_ACCUM
number which accumulates
|
FILE_ACCUM_DIFF
number which accumulates, which is the difference between the new-value and the previous-value
|
FILE_VALUE
number which is a value
|
FILE_VALUE_DIFF
number which is a value, which is the difference between the new-value and the previous-value
|
Modifier and Type | Method and Description |
---|---|
static FileMetric.FileMetricKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileMetric.FileMetricKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileMetric.FileMetricKind DIR
public static final FileMetric.FileMetricKind FILE_ACCUM
public static final FileMetric.FileMetricKind FILE_ACCUM_DIFF
public static final FileMetric.FileMetricKind FILE_VALUE
public static final FileMetric.FileMetricKind FILE_VALUE_DIFF
public static FileMetric.FileMetricKind[] values()
for (FileMetric.FileMetricKind c : FileMetric.FileMetricKind.values()) System.out.println(c);
public static FileMetric.FileMetricKind 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 nullThis content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.