Enum MarkovEvaluationType
- java.lang.Object
-
- java.lang.Enum<MarkovEvaluationType>
-
- org.palladiosimulator.reliability.MarkovEvaluationType
-
- All Implemented Interfaces:
Serializable
,Comparable<MarkovEvaluationType>
public enum MarkovEvaluationType extends Enum<MarkovEvaluationType>
Describes the granularity of distinction between failure types in the reliability analysis and simulation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASSES
Rough distinction between software, hardware and network failure types.POINTSOFFAILURE
Distinction between individual points of failure.SINGLE
No distinction between different failure types.TYPES
Distinction between user-defined failure types.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MarkovEvaluationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MarkovEvaluationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLASSES
public static final MarkovEvaluationType CLASSES
Rough distinction between software, hardware and network failure types. This setting induces a simplified reliability evaluation without failure recovery.
-
POINTSOFFAILURE
public static final MarkovEvaluationType POINTSOFFAILURE
Distinction between individual points of failure.
-
SINGLE
public static final MarkovEvaluationType SINGLE
No distinction between different failure types. This setting induces a simplified reliability evaluation without failure recovery.
-
TYPES
public static final MarkovEvaluationType TYPES
Distinction between user-defined failure types.
-
-
Method Detail
-
values
public static MarkovEvaluationType[] 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 (MarkovEvaluationType c : MarkovEvaluationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MarkovEvaluationType 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
-
-