@InterfaceAudience.Public @InterfaceStability.Stable public enum XAttrSetFlag extends Enum<XAttrSetFlag>
Enum Constant and Description |
---|
CREATE
Create a new xattr.
|
REPLACE
Replace a existing xattr.
|
Modifier and Type | Method and Description |
---|---|
static void |
validate(String xAttrName,
boolean xAttrExists,
EnumSet<XAttrSetFlag> flag) |
static XAttrSetFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XAttrSetFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XAttrSetFlag CREATE
public static final XAttrSetFlag REPLACE
public static XAttrSetFlag[] values()
for (XAttrSetFlag c : XAttrSetFlag.values()) System.out.println(c);
public static XAttrSetFlag 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 nullpublic static void validate(String xAttrName, boolean xAttrExists, EnumSet<XAttrSetFlag> flag) throws IOException
IOException
Copyright © 2015 Apache Software Foundation. All Rights Reserved.