@PublicApi public enum ThresholdType extends Enum<ThresholdType>
| Modifier and Type | Method and Description |
|---|---|
static ThresholdType |
from(int inputType) |
int |
getDbValue() |
boolean |
isDays() |
boolean |
isRuns() |
static ThresholdType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThresholdType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThresholdType RUNS
public static final ThresholdType DAYS
public static ThresholdType[] values()
for (ThresholdType c : ThresholdType.values()) System.out.println(c);
public static ThresholdType 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 static ThresholdType from(int inputType) throws ValidationInsightSystemException
ValidationInsightSystemExceptionpublic int getDbValue()
public boolean isDays()
public boolean isRuns()
Copyright © 2024 Atlassian. All rights reserved.