Enum CoverageLevel
- java.lang.Object
-
- java.lang.Enum<CoverageLevel>
-
- com.sodius.oslc.server.audit.model.CoverageLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<CoverageLevel>
public enum CoverageLevel extends Enum<CoverageLevel>
Represents the verbosity level associated with audit events.- Since:
- 3.7.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CoverageLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static CoverageLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASE
public static final CoverageLevel BASE
Events to log as a default.
-
ADVANCED
public static final CoverageLevel ADVANCED
Additional events on top of Base.
-
FULL
public static final CoverageLevel FULL
Additional events on top of Base and Advanced.
-
-
Method Detail
-
values
public static CoverageLevel[] 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 (CoverageLevel c : CoverageLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoverageLevel 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
-
-