public enum IntervalToExpire extends Enum<IntervalToExpire> implements IStringConstant
| Enum Constant and Description |
|---|
DAY |
FIVE_MINUTES |
ONE_HOUR |
SIX_HOURS |
TEN_MINUTES |
THIRTY_MINUTES |
THREE_HOURS |
TWELVE_HOURS |
WEEK |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes() |
String |
getValue() |
static IntervalToExpire |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IntervalToExpire[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntervalToExpire WEEK
public static final IntervalToExpire DAY
public static final IntervalToExpire TWELVE_HOURS
public static final IntervalToExpire SIX_HOURS
public static final IntervalToExpire THREE_HOURS
public static final IntervalToExpire ONE_HOUR
public static final IntervalToExpire THIRTY_MINUTES
public static final IntervalToExpire TEN_MINUTES
public static final IntervalToExpire FIVE_MINUTES
public static IntervalToExpire[] values()
for (IntervalToExpire c : IntervalToExpire.values()) System.out.println(c);
public static IntervalToExpire 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 String getValue()
getValue in interface IStringConstantpublic byte[] getBytes()
getBytes in interface IStringConstantCopyright © 2024. All rights reserved.