public enum EffectiveCoverageLevel extends Enum<EffectiveCoverageLevel>
| Modifier and Type | Method and Description |
|---|---|
static EffectiveCoverageLevel |
fromKey(String key) |
String |
getKey() |
EffectiveCoverageLevel |
mostRestrictive(EffectiveCoverageLevel other)
Returns the most restrictive level between
this and other. |
boolean |
shouldAllow(CoverageLevel entityLevel) |
String |
toString() |
static EffectiveCoverageLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EffectiveCoverageLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EffectiveCoverageLevel OFF
public static final EffectiveCoverageLevel BASE
public static final EffectiveCoverageLevel ADVANCED
public static final EffectiveCoverageLevel FULL
public static EffectiveCoverageLevel[] values()
for (EffectiveCoverageLevel c : EffectiveCoverageLevel.values()) System.out.println(c);
public static EffectiveCoverageLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic EffectiveCoverageLevel mostRestrictive(EffectiveCoverageLevel other)
this and other.
For example BASE.min(ADVANCED) = BASE.public boolean shouldAllow(CoverageLevel entityLevel)
public String getKey()
public String toString()
toString in class Enum<EffectiveCoverageLevel>public static EffectiveCoverageLevel fromKey(String key)
Copyright © 2023 Atlassian. All rights reserved.