public static enum Subscription.Source extends Enum<Subscription.Source>
Enum Constant and Description |
---|
API |
CONTROL_PANEL |
RECURRING |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Subscription.Source |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Subscription.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Subscription.Source API
public static final Subscription.Source CONTROL_PANEL
public static final Subscription.Source RECURRING
public static final Subscription.Source UNRECOGNIZED
private final String name
public static Subscription.Source[] values()
for (Subscription.Source c : Subscription.Source.values()) System.out.println(c);
public static Subscription.Source 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 String toString()
toString
in class Enum<Subscription.Source>
Copyright © 2013-2016. All Rights Reserved.