public enum Feed extends Enum<Feed>
Modifier and Type | Method and Description |
---|---|
String |
asResource(int size) |
static String |
asResource(String description) |
static Feed |
findByDescription(String description) |
static Feed |
findByDescription(String description,
int size) |
String |
getDescription() |
static IllegalArgumentException |
invalidDescription(String description) |
static IllegalArgumentException |
invalidDescription(String description,
Exception e) |
static int |
requireValidSize(int size) |
static Feed |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Feed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Feed ACTIVITY_WINDOW
public static final Feed CHECK_ALL
public static final Feed COMMENT_RSS
public static final Feed COMMENT_RSS_ADD
public static final Feed COMMENT_RSS_DELETE
public static final Feed COMMENT_RSS_INFO
public static final Feed FEED_SOURECe
public static final Feed FEED
public static final Feed FOLDER
public static final Feed FOLDER_ADD
public static final Feed FOLDER_REMOVE
public static final Feed FOLDER_RSS
public static final Feed INFO
public static final Feed MARK_AS_READ
public static final Feed NEXT_RSS
public static final Feed NEXT_UNREAD
public static final Feed POST_DELICIOUS
public static final Feed POST_TO_BLOG
public static final Feed PREVIOUS_RSS
public static final Feed PREVIOUS_UNREAD
public static final Feed RELOAD
public static final Feed RSS
public static final Feed RSS_FILE
public static final Feed RSS_FILE_ADD
public static final Feed RSS_FILE_INFO
public static final Feed RSS_FILE_REMOVE
public static final Feed RSS_PILL_BLUE
public static final Feed RSS_PILL_ORANGE
public static final Feed RSS_SITE
public static final Feed RSS_SITE_RSS
public static final Feed STOP
public static final Feed SUBSCRIBE
public static final Feed UNSUBSCRIBE
public static Feed[] values()
for (Feed c : Feed.values()) System.out.println(c);
public static Feed 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 null@Nonnull public static Feed findByDescription(@Nonnull String description, int size)
public static int requireValidSize(int size)
@Nonnull public static IllegalArgumentException invalidDescription(@Nonnull String description)
@Nonnull public static IllegalArgumentException invalidDescription(@Nonnull String description, Exception e)