Package sk.ipesoft.d2000.d2japi
Enum KernelStopWarningType
- java.lang.Object
-
- java.lang.Enum<KernelStopWarningType>
-
- sk.ipesoft.d2000.d2japi.KernelStopWarningType
-
public enum KernelStopWarningType extends java.lang.Enum<KernelStopWarningType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description stopIn10Days
stopIn10Minutes
stopIn1Minute
stopIn20Days
stopIn5Minutes
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAmount()
java.util.concurrent.TimeUnit
getUnit()
static KernelStopWarningType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static KernelStopWarningType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
stopIn20Days
public static final KernelStopWarningType stopIn20Days
-
stopIn10Days
public static final KernelStopWarningType stopIn10Days
-
stopIn10Minutes
public static final KernelStopWarningType stopIn10Minutes
-
stopIn5Minutes
public static final KernelStopWarningType stopIn5Minutes
-
stopIn1Minute
public static final KernelStopWarningType stopIn1Minute
-
-
Method Detail
-
values
public static KernelStopWarningType[] 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 (KernelStopWarningType c : KernelStopWarningType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KernelStopWarningType 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
-
getAmount
public int getAmount()
-
getUnit
public java.util.concurrent.TimeUnit getUnit()
-
-