Package hudson.views
Enum BuildTrendFilter.StatusType
- java.lang.Object
-
- java.lang.Enum<BuildTrendFilter.StatusType>
-
- hudson.views.BuildTrendFilter.StatusType
-
- All Implemented Interfaces:
Serializable
,Comparable<BuildTrendFilter.StatusType>
- Enclosing class:
- BuildTrendFilter
public static enum BuildTrendFilter.StatusType extends Enum<BuildTrendFilter.StatusType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Completed
Failed
NotStable
Stable
Started
TriggeredByCli
TriggeredByRemote
TriggeredByScmPoll
TriggeredByTimer
TriggeredByUpstream
TriggeredByUser
Unstable
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(Result result)
boolean
matches(Run run)
protected boolean
matchesCause(Cause cause)
boolean
matchesCause(Run run)
static BuildTrendFilter.StatusType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BuildTrendFilter.StatusType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Started
public static final BuildTrendFilter.StatusType Started
-
Completed
public static final BuildTrendFilter.StatusType Completed
-
Stable
public static final BuildTrendFilter.StatusType Stable
-
Unstable
public static final BuildTrendFilter.StatusType Unstable
-
Failed
public static final BuildTrendFilter.StatusType Failed
-
NotStable
public static final BuildTrendFilter.StatusType NotStable
-
TriggeredByScmPoll
public static final BuildTrendFilter.StatusType TriggeredByScmPoll
-
TriggeredByTimer
public static final BuildTrendFilter.StatusType TriggeredByTimer
-
TriggeredByUser
public static final BuildTrendFilter.StatusType TriggeredByUser
-
TriggeredByRemote
public static final BuildTrendFilter.StatusType TriggeredByRemote
-
TriggeredByUpstream
public static final BuildTrendFilter.StatusType TriggeredByUpstream
-
TriggeredByCli
public static final BuildTrendFilter.StatusType TriggeredByCli
-
-
Method Detail
-
values
public static BuildTrendFilter.StatusType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BuildTrendFilter.StatusType c : BuildTrendFilter.StatusType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuildTrendFilter.StatusType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
matchesCause
public boolean matchesCause(Run run)
-
matchesCause
protected boolean matchesCause(Cause cause)
-
matches
public boolean matches(Run run)
-
matches
public boolean matches(Result result)
-
-