public static enum Feed.FeedType extends Enum<Feed.FeedType>
| Enum Constant and Description |
|---|
PRIMARY
A feed that derives its data from an external source.
|
SECONDARY
A feed that derives its data from another primary or secondary feed.
|
| Modifier and Type | Method and Description |
|---|---|
static Feed.FeedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Feed.FeedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Feed.FeedType PRIMARY
public static final Feed.FeedType SECONDARY
public static Feed.FeedType[] values()
for (Feed.FeedType c : Feed.FeedType.values()) System.out.println(c);
public static Feed.FeedType 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 The Apache Software Foundation. All rights reserved.