Serializable
, Comparable<Notification.Role>
public static enum Notification.Role extends Enum<Notification.Role>
Enum Constant | Description |
---|---|
ANY |
|
CO |
|
CONTRIBUTER |
|
CREATOR |
|
IP |
|
OWNER |
|
PM |
|
PO |
|
QA |
|
VO |
Modifier and Type | Method | Description |
---|---|---|
Integer |
getCode() |
|
static Notification.Role |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Notification.Role[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Notification.Role ANY
public static final Notification.Role CREATOR
public static final Notification.Role OWNER
public static final Notification.Role CONTRIBUTER
public static final Notification.Role QA
public static final Notification.Role PM
public static final Notification.Role PO
public static final Notification.Role CO
public static final Notification.Role VO
public static final Notification.Role IP
public static Notification.Role[] values()
for (Notification.Role c : Notification.Role.values()) System.out.println(c);
public static Notification.Role 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 Integer getCode()
Copyright © 2002–2019 itracker. All rights reserved.