public enum LoggedOutUserList extends java.lang.Enum<LoggedOutUserList> implements LoggedOutUsers
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
LoggedOutUsers |
addLoggedOutToken(java.lang.String token,
java.lang.String userName,
int remainingSeconds) |
io.vertx.core.json.JsonObject |
dumpAllForAdmin() |
boolean |
isLoggedOut(java.lang.String token) |
static LoggedOutUserList |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoggedOutUserList[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggedOutUserList INSTANCE
public static LoggedOutUserList[] values()
for (LoggedOutUserList c : LoggedOutUserList.values()) System.out.println(c);
public static LoggedOutUserList valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic LoggedOutUsers addLoggedOutToken(java.lang.String token, java.lang.String userName, int remainingSeconds)
addLoggedOutToken
in interface LoggedOutUsers
public io.vertx.core.json.JsonObject dumpAllForAdmin()
dumpAllForAdmin
in interface LoggedOutUsers
public boolean isLoggedOut(java.lang.String token)
isLoggedOut
in interface LoggedOutUsers