public enum SymbolicBuildReference extends Enum<SymbolicBuildReference>
Enum Constant and Description |
---|
LATEST |
LATEST_SUCCESSFUL |
NONE |
Modifier and Type | Method and Description |
---|---|
String |
getLabel() |
static SymbolicBuildReference |
labelToReference(String label)
Returns the symbolic reference that matches the specified label,
or NONE if there are no matching references.
|
static SymbolicBuildReference |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SymbolicBuildReference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SymbolicBuildReference NONE
public static final SymbolicBuildReference LATEST
public static final SymbolicBuildReference LATEST_SUCCESSFUL
public static SymbolicBuildReference[] values()
for (SymbolicBuildReference c : SymbolicBuildReference.values()) System.out.println(c);
public static SymbolicBuildReference 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 String getLabel()
public static SymbolicBuildReference labelToReference(String label)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.