Enum TwitterEventType
- java.lang.Object
-
- java.lang.Enum<TwitterEventType>
-
- org.apache.camel.component.twitter.consumer.TwitterEventType
-
- All Implemented Interfaces:
Serializable
,Comparable<TwitterEventType>
public enum TwitterEventType extends Enum<TwitterEventType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.camel.Exchange
createExchange(TwitterEndpoint endpoint)
<T> org.apache.camel.Exchange
createExchange(TwitterEndpoint endpoint, T body)
<T> List<org.apache.camel.Exchange>
createExchangeList(TwitterEndpoint endpoint, List<T> bodyList)
static TwitterEventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TwitterEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATUS
public static final TwitterEventType STATUS
-
DIRECT_MESSAGE
public static final TwitterEventType DIRECT_MESSAGE
-
FAVORITE
public static final TwitterEventType FAVORITE
-
UNFAVORITE
public static final TwitterEventType UNFAVORITE
-
FOLLOW
public static final TwitterEventType FOLLOW
-
UNFOLLOW
public static final TwitterEventType UNFOLLOW
-
USERLIST_MEMBER_ADDITION
public static final TwitterEventType USERLIST_MEMBER_ADDITION
-
USERLIST_MEMBER_DELETION
public static final TwitterEventType USERLIST_MEMBER_DELETION
-
USERLIST_SUBSCRIPTION
public static final TwitterEventType USERLIST_SUBSCRIPTION
-
USERLIST_UNSUBSCRIPTION
public static final TwitterEventType USERLIST_UNSUBSCRIPTION
-
USERLIST_CREATION
public static final TwitterEventType USERLIST_CREATION
-
USERLIST_UPDATE
public static final TwitterEventType USERLIST_UPDATE
-
USERLIST_DELETETION
public static final TwitterEventType USERLIST_DELETETION
-
USER_PROFILE_UPDATE
public static final TwitterEventType USER_PROFILE_UPDATE
-
USER_SUSPENSION
public static final TwitterEventType USER_SUSPENSION
-
USER_DELETION
public static final TwitterEventType USER_DELETION
-
BLOCK
public static final TwitterEventType BLOCK
-
UNBLOCK
public static final TwitterEventType UNBLOCK
-
RETWEETED_RETWEET
public static final TwitterEventType RETWEETED_RETWEET
-
FAVORITED_RETWEET
public static final TwitterEventType FAVORITED_RETWEET
-
QUOTED_TWEET
public static final TwitterEventType QUOTED_TWEET
-
-
Method Detail
-
values
public static TwitterEventType[] values()
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 (TwitterEventType c : TwitterEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TwitterEventType valueOf(String name)
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
-
createExchange
public org.apache.camel.Exchange createExchange(TwitterEndpoint endpoint)
-
createExchange
public <T> org.apache.camel.Exchange createExchange(TwitterEndpoint endpoint, T body)
-
createExchangeList
public <T> List<org.apache.camel.Exchange> createExchangeList(TwitterEndpoint endpoint, List<T> bodyList)
-
-