public enum UserLevel extends Enum<UserLevel>
Modifier and Type | Method and Description |
---|---|
static UserLevel |
fromSymbol(char symbol)
Searches for UserLevel that uses the given symbol
|
String |
getSymbol() |
static String |
getSymbols()
Combines all UserLevel's symbols into a String
|
static UserLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserLevel VOICE
public static final UserLevel HALFOP
public static final UserLevel OP
public static final UserLevel SUPEROP
public static final UserLevel OWNER
public static UserLevel[] values()
for (UserLevel c : UserLevel.values()) System.out.println(c);
public static UserLevel 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 String getSymbols()
public static UserLevel fromSymbol(char symbol)
symbol
- @Generated(value="lombok") public String getSymbol()
Copyright © 2010–2020 Leon Blakey. All rights reserved.