Package org.gcube.portal.databook.shared
Enum FeedType
- java.lang.Object
-
- java.lang.Enum<FeedType>
-
- org.gcube.portal.databook.shared.FeedType
-
- All Implemented Interfaces:
Serializable,Comparable<FeedType>
public enum FeedType extends Enum<FeedType>
Deprecated.use PostType- Version:
- 1.2 October 2012
- Author:
- Massimiliano Assante ISTI-CNR
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FeedTypevalueOf(String name)Deprecated.Returns the enum constant of this type with the specified name.static FeedType[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JOIN
public static final FeedType JOIN
Deprecated.
-
SHARE
public static final FeedType SHARE
Deprecated.
-
PUBLISH
public static final FeedType PUBLISH
Deprecated.
-
TWEET
public static final FeedType TWEET
Deprecated.
-
CONNECTED
public static final FeedType CONNECTED
Deprecated.
-
ACCOUNTING
public static final FeedType ACCOUNTING
Deprecated.Special case used when accounting
-
DISABLED
public static final FeedType DISABLED
Deprecated.Special case used when a Feed is removed
-
-
Method Detail
-
values
public static FeedType[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FeedType c : FeedType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FeedType valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-