public static enum TrackingGitProperty.ToTrack extends Enum<TrackingGitProperty.ToTrack>
| Enum Constant and Description |
|---|
LAST_BUILD |
LAST_FAILED_BUILD |
LAST_STABLE |
LAST_SUCCESSFUL |
| Modifier and Type | Method and Description |
|---|---|
abstract hudson.model.Run<?,?> |
getBuild(hudson.model.Job<?,?> project) |
String |
toString() |
static TrackingGitProperty.ToTrack |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrackingGitProperty.ToTrack[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrackingGitProperty.ToTrack LAST_STABLE
public static final TrackingGitProperty.ToTrack LAST_SUCCESSFUL
public static final TrackingGitProperty.ToTrack LAST_BUILD
public static final TrackingGitProperty.ToTrack LAST_FAILED_BUILD
public static TrackingGitProperty.ToTrack[] values()
for (TrackingGitProperty.ToTrack c : TrackingGitProperty.ToTrack.values()) System.out.println(c);
public static TrackingGitProperty.ToTrack 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 abstract hudson.model.Run<?,?> getBuild(hudson.model.Job<?,?> project)
public String toString()
toString in class Enum<TrackingGitProperty.ToTrack>Copyright © 2004-2014. All Rights Reserved.