Enum ReferenceResult.ReferenceStatus
- java.lang.Object
-
- java.lang.Enum<ReferenceResult.ReferenceStatus>
-
- com.parasoft.findings.jenkins.coverage.api.metrics.steps.ReferenceResult.ReferenceStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<ReferenceResult.ReferenceStatus>
- Enclosing class:
- ReferenceResult
public static enum ReferenceResult.ReferenceStatus extends Enum<ReferenceResult.ReferenceStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_CVG_DATA_IN_REF_BUILD
NO_PREVIOUS_BUILD_WAS_FOUND
NO_REF_BUILD
NO_REF_JOB
OK
REF_BUILD_IS_CURRENT_BUILD
REF_BUILD_NOT_SUCCESSFUL_OR_UNSTABLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReferenceResult.ReferenceStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReferenceResult.ReferenceStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final ReferenceResult.ReferenceStatus OK
-
NO_REF_JOB
public static final ReferenceResult.ReferenceStatus NO_REF_JOB
-
NO_REF_BUILD
public static final ReferenceResult.ReferenceStatus NO_REF_BUILD
-
NO_PREVIOUS_BUILD_WAS_FOUND
public static final ReferenceResult.ReferenceStatus NO_PREVIOUS_BUILD_WAS_FOUND
-
REF_BUILD_NOT_SUCCESSFUL_OR_UNSTABLE
public static final ReferenceResult.ReferenceStatus REF_BUILD_NOT_SUCCESSFUL_OR_UNSTABLE
-
REF_BUILD_IS_CURRENT_BUILD
public static final ReferenceResult.ReferenceStatus REF_BUILD_IS_CURRENT_BUILD
-
NO_CVG_DATA_IN_REF_BUILD
public static final ReferenceResult.ReferenceStatus NO_CVG_DATA_IN_REF_BUILD
-
-
Method Detail
-
values
public static ReferenceResult.ReferenceStatus[] 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 (ReferenceResult.ReferenceStatus c : ReferenceResult.ReferenceStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReferenceResult.ReferenceStatus 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
-
-