|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SubscriptionMode>
org.kohsuke.jnt.SubscriptionMode
public enum SubscriptionMode
Mode of subscription to a mailing list.
Enum Constant Summary | |
---|---|
ALLOWED_POSTERS
Allowed posters. |
|
DIGEST
Digest subscription mode. |
|
MODERATOR
List moderators. |
|
NORMAL
Normal subscription mode. |
Method Summary | |
---|---|
String |
getNameAsWord()
Gets either "Normal" or "Digest". |
String |
toString()
Returns human-readable mode name. |
static SubscriptionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SubscriptionMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SubscriptionMode NORMAL
public static final SubscriptionMode DIGEST
public static final SubscriptionMode MODERATOR
public static final SubscriptionMode ALLOWED_POSTERS
Method Detail |
---|
public static SubscriptionMode[] values()
for (SubscriptionMode c : SubscriptionMode.values()) System.out.println(c);
public static SubscriptionMode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<SubscriptionMode>
public String getNameAsWord()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |