Enum AnalysisHistory.JobResultEvaluationMode
- java.lang.Object
-
- java.lang.Enum<AnalysisHistory.JobResultEvaluationMode>
-
- io.jenkins.plugins.analysis.core.model.AnalysisHistory.JobResultEvaluationMode
-
- All Implemented Interfaces:
Serializable
,Comparable<AnalysisHistory.JobResultEvaluationMode>
- Enclosing class:
- AnalysisHistory
public static enum AnalysisHistory.JobResultEvaluationMode extends Enum<AnalysisHistory.JobResultEvaluationMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IGNORE_JOB_RESULT
All jobs are considered regardless of the result.NO_JOB_FAILURE
Only those jobs are considered that did not fail.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AnalysisHistory.JobResultEvaluationMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static AnalysisHistory.JobResultEvaluationMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_JOB_FAILURE
public static final AnalysisHistory.JobResultEvaluationMode NO_JOB_FAILURE
Only those jobs are considered that did not fail. I.e. jobs with resultResult.UNSTABLE
orResult.SUCCESS
.
-
IGNORE_JOB_RESULT
public static final AnalysisHistory.JobResultEvaluationMode IGNORE_JOB_RESULT
All jobs are considered regardless of the result. If the job has an overall result ofResult.FAILURE
then it will be considered as well.
-
-
Method Detail
-
values
public static AnalysisHistory.JobResultEvaluationMode[] 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 (AnalysisHistory.JobResultEvaluationMode c : AnalysisHistory.JobResultEvaluationMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnalysisHistory.JobResultEvaluationMode 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
-
-