- All Implemented Interfaces:
Serializable,Comparable<CIVLProperty>,Constable
Enum class for representing different properties that CIVL checks for. Each
CIVLProperty specifies its title which is displayed in the list of standard
properties checked after an error free run of civl verify.
Most CIVLProperties are configurable by a command line option which is part
of their specification. CIVLProperties which do not have an associated
command line option are called unconfigurable.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic final List<CIVLProperty> static final List<CIVLProperty> dev.civl.gmc.Optionstatic CIVLPropertyReturns the enum constant of this class with the specified name.static CIVLProperty[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEREFERENCE
-
FUNCTIONAL_EQUIVALENCE
-
INTERNAL
-
LIBRARY
-
OTHER
-
ASSERTION_VIOLATION
-
COMMUNICATION
-
CONSTANT_WRITE
-
DEADLOCK
-
DIVISION_BY_ZERO
-
INPUT_WRITE
-
INVALID_CAST
-
MALLOC
-
MEMORY_LEAK
-
MEMORY_MANAGE
-
MPI_ERROR
-
OUT_OF_BOUNDS
-
OUTPUT_READ
-
POINTER
-
PROCESS_LEAK
-
SEQUENCE
-
TERMINATION
-
UNDEFINED_VALUE
-
UNION
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getAllUnconfigurableProperties
- Returns:
- returns all of the CIVLProperty's which are unconfigurable
-
getAllConfigurableProperties
- Returns:
- returns all of the CIVLProperty's which are configurable
-
getOption
public dev.civl.gmc.Option getOption()- Returns:
- returns the option which controls this property if it is configurable. Returns null if it is unconfigurable,
-
getPropertyTitle
- Returns:
- returns the property's title.
-