public enum PostsResourceApiMethod extends Enum<PostsResourceApiMethod> implements org.apache.camel.util.component.ApiMethod
ApiMethod
Enumeration for org.apache.camel.component.linkedin.api.PostsResourceEnum Constant and Description |
---|
FLAGCATEGORY |
FOLLOWPOST |
GETPOST |
GETPOSTCOMMENTS |
LIKEPOST |
REMOVEPOST |
Modifier and Type | Method and Description |
---|---|
List<String> |
getArgNames() |
List<Class<?>> |
getArgTypes() |
Method |
getMethod() |
String |
getName() |
Class<?> |
getResultType() |
static PostsResourceApiMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PostsResourceApiMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostsResourceApiMethod FLAGCATEGORY
public static final PostsResourceApiMethod FOLLOWPOST
public static final PostsResourceApiMethod GETPOST
public static final PostsResourceApiMethod GETPOSTCOMMENTS
public static final PostsResourceApiMethod LIKEPOST
public static final PostsResourceApiMethod REMOVEPOST
public static PostsResourceApiMethod[] values()
for (PostsResourceApiMethod c : PostsResourceApiMethod.values()) System.out.println(c);
public static PostsResourceApiMethod 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 getName()
getName
in interface org.apache.camel.util.component.ApiMethod
public Class<?> getResultType()
getResultType
in interface org.apache.camel.util.component.ApiMethod
public List<String> getArgNames()
getArgNames
in interface org.apache.camel.util.component.ApiMethod
public List<Class<?>> getArgTypes()
getArgTypes
in interface org.apache.camel.util.component.ApiMethod
public Method getMethod()
getMethod
in interface org.apache.camel.util.component.ApiMethod
Apache Camel