public enum AuthorisationType extends Enum<AuthorisationType>
Enum Constant and Description |
---|
PASSWORD |
TICKET |
TICKETPATH |
Modifier and Type | Method and Description |
---|---|
static AuthorisationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorisationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorisationType PASSWORD
public static final AuthorisationType TICKET
public static final AuthorisationType TICKETPATH
public static AuthorisationType[] values()
for (AuthorisationType c : AuthorisationType.values()) System.out.println(c);
public static AuthorisationType 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 nullCopyright © 2016–2021. All rights reserved.