csheets.ext.assertion
Enum AssertionWarning.Type
java.lang.Object
java.lang.Enum<AssertionWarning.Type>
csheets.ext.assertion.AssertionWarning.Type
- All Implemented Interfaces:
- Serializable, Comparable<AssertionWarning.Type>
- Enclosing class:
- AssertionWarning
public static enum AssertionWarning.Type
- extends Enum<AssertionWarning.Type>
Denotes the type of a warning. See documentation for the constructor for more info.
INTERSECTING
public static final AssertionWarning.Type INTERSECTING
ENCLOSING
public static final AssertionWarning.Type ENCLOSING
EXCLUDING
public static final AssertionWarning.Type EXCLUDING
values
public static final AssertionWarning.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(AssertionWarning.Type c : AssertionWarning.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static AssertionWarning.Type 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 name