public enum Content extends Enum<Content>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Content.CountsContent counts. | 
| static class  | Content.CountsMapA map of counters for the current state and the snapshots. | 
| Enum Constant and Description | 
|---|
| DIRECTORYThe number of directories. | 
| DISKSPACEThe total of disk space usage in bytes including replication. | 
| FILEThe number of files. | 
| LENGTHThe total of file length in bytes. | 
| SNAPSHOTThe number of snapshots. | 
| SNAPSHOTTABLE_DIRECTORYThe number of snapshottable directories. | 
| SYMLINKThe number of symlinks. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Content | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Content[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Content FILE
public static final Content DIRECTORY
public static final Content SYMLINK
public static final Content LENGTH
public static final Content DISKSPACE
public static final Content SNAPSHOT
public static final Content SNAPSHOTTABLE_DIRECTORY
public static Content[] values()
for (Content c : Content.values()) System.out.println(c);
public static Content 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 nullCopyright © 2022 Apache Software Foundation. All rights reserved.