public static enum Attribute.State extends Enum<Attribute.State>
Enum Constant and Description |
---|
CUSTOM
the attribute is set to a custom value
|
SET
the attribute is set
|
UNSET
the attribute is unset
|
UNSPECIFIED
the attribute appears as if it would not be defined at all
|
Modifier and Type | Method and Description |
---|---|
static Attribute.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Attribute.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Attribute.State SET
public static final Attribute.State UNSET
public static final Attribute.State UNSPECIFIED
public static final Attribute.State CUSTOM
public static Attribute.State[] values()
for (Attribute.State c : Attribute.State.values()) System.out.println(c);
public static Attribute.State 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 © 2016 Eclipse JGit Project. All rights reserved.