Package de.hsh.graja.regression.report
Enum PresenceReciprocity
- java.lang.Object
-
- java.lang.Enum<PresenceReciprocity>
-
- de.hsh.graja.regression.report.PresenceReciprocity
-
- All Implemented Interfaces:
Serializable
,Comparable<PresenceReciprocity>
public enum PresenceReciprocity extends Enum<PresenceReciprocity>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTH
EXPECTED_ONLY
NONE
OBSERVED_ONLY
RECORDED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PresenceReciprocity
ofRecorded(Boolean present)
static PresenceReciprocity
ofTested(Boolean presentInExpected, Boolean presentInObserved)
static PresenceReciprocity
valueOf(String name)
Returns the enum constant of this type with the specified name.static PresenceReciprocity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final PresenceReciprocity NONE
-
BOTH
public static final PresenceReciprocity BOTH
-
RECORDED
public static final PresenceReciprocity RECORDED
-
EXPECTED_ONLY
public static final PresenceReciprocity EXPECTED_ONLY
-
OBSERVED_ONLY
public static final PresenceReciprocity OBSERVED_ONLY
-
-
Method Detail
-
values
public static PresenceReciprocity[] 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 (PresenceReciprocity c : PresenceReciprocity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PresenceReciprocity 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
-
ofTested
public static PresenceReciprocity ofTested(Boolean presentInExpected, Boolean presentInObserved)
-
ofRecorded
public static PresenceReciprocity ofRecorded(Boolean present)
-
-