Enum InconsistencyMeasureResult.Status
- java.lang.Object
-
- java.lang.Enum<InconsistencyMeasureResult.Status>
-
- org.tweetyproject.logics.commons.analysis.InconsistencyMeasureResult.Status
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InconsistencyMeasureResult.Status>
,java.lang.constant.Constable
- Enclosing class:
- InconsistencyMeasureResult
public static enum InconsistencyMeasureResult.Status extends java.lang.Enum<InconsistencyMeasureResult.Status>
Status of an InconsistencyMeasureResult: OK means that an inconsistency value has been computed. TIMEOUT means that the measure implementation timed out before a value could be computed. The timeout is configured inInconsistencyMeasureEvaluator
.
-
-
Method Summary
Modifier and Type Method Description static InconsistencyMeasureResult.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InconsistencyMeasureResult.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final InconsistencyMeasureResult.Status OK
-
TIMEOUT
public static final InconsistencyMeasureResult.Status TIMEOUT
-
-
Method Detail
-
values
public static InconsistencyMeasureResult.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InconsistencyMeasureResult.Status valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-