public static enum ArtifactDiff.ChangeType extends java.lang.Enum<ArtifactDiff.ChangeType>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
shorthand()
Returns the shorthand character of this value.
|
static ArtifactDiff.ChangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArtifactDiff.ChangeType |
valueOfShorthand(java.lang.String shorthand)
Returns the value represented by a shorthand character.
|
static ArtifactDiff.ChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArtifactDiff.ChangeType ADDED
public static final ArtifactDiff.ChangeType REMOVED
public static final ArtifactDiff.ChangeType MODIFIED
public static ArtifactDiff.ChangeType[] values()
for (ArtifactDiff.ChangeType c : ArtifactDiff.ChangeType.values()) System.out.println(c);
public static ArtifactDiff.ChangeType 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 nullpublic final java.lang.String shorthand()
public static ArtifactDiff.ChangeType valueOfShorthand(java.lang.String shorthand)
shorthand
- the shorthand characterjava.lang.IllegalArgumentException
- if the given shorthand character
is invalid