java.io.Serializable, java.lang.Comparable<FileStatus.AttrFlags>public static enum FileStatus.AttrFlags extends java.lang.Enum<FileStatus.AttrFlags>
| Enum Constant | Description |
|---|---|
HAS_ACL |
ACL information available for this entity.
|
HAS_CRYPT |
Entity is encrypted.
|
HAS_EC |
Entity is stored erasure-coded.
|
SNAPSHOT_ENABLED |
Snapshot capability enabled.
|
| Modifier and Type | Method | Description |
|---|---|---|
static FileStatus.AttrFlags |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FileStatus.AttrFlags[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileStatus.AttrFlags HAS_ACL
public static final FileStatus.AttrFlags HAS_CRYPT
public static final FileStatus.AttrFlags HAS_EC
public static final FileStatus.AttrFlags SNAPSHOT_ENABLED
public static FileStatus.AttrFlags[] values()
for (FileStatus.AttrFlags c : FileStatus.AttrFlags.values()) System.out.println(c);
public static FileStatus.AttrFlags 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 © 2008–2025 Apache Software Foundation. All rights reserved.