public enum LastReqType extends Enum<LastReqType>
Enum Constant and Description |
---|
NONE
Constant for the "none" last request type.
|
TIME_OF_INITIAL_REQ
Constant for the "time of initial request" last request type.
|
TIME_OF_INITIAL_TGT
Constant for the "time of initial ticket" last request type.
|
TIME_OF_LAST_RENEWAL
Constant for the "time of last renewal" last request type.
|
TIME_OF_LAST_REQ
Constant for the "time of last request" last request type.
|
TIME_OF_NEWEST_TGT
Constant for the "time of newest ticket" last request type.
|
TIME_OF_PASSWORD_EXP
Constant for the "time of password expiration" last request type.
|
Modifier and Type | Method and Description |
---|---|
static LastReqType |
getTypeByValue(int type)
Returns the last request type when specified by its ordinal.
|
int |
getValue()
Returns the number associated with this last request type.
|
String |
toString() |
static LastReqType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LastReqType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LastReqType NONE
public static final LastReqType TIME_OF_INITIAL_TGT
public static final LastReqType TIME_OF_INITIAL_REQ
public static final LastReqType TIME_OF_NEWEST_TGT
public static final LastReqType TIME_OF_LAST_RENEWAL
public static final LastReqType TIME_OF_LAST_REQ
public static final LastReqType TIME_OF_PASSWORD_EXP
public static LastReqType[] values()
for (LastReqType c : LastReqType.values()) System.out.println(c);
public static LastReqType 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 LastReqType getTypeByValue(int type)
type
- The numeric typepublic int getValue()
public String toString()
toString
in class Enum<LastReqType>
Object.toString()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.