public static enum AsyncTask.TaskType extends java.lang.Enum<AsyncTask.TaskType>
UNDEFINED and add the proper task type as a metadata for the task.| Enum Constant and Description |
|---|
ANALYSIS
media analysis task
|
BACKEND_FEEDBACK
feedback generated based on results received from back-ends.
|
FACEBOOK_PROFILE_SUMMARIZATION
facebook user profile summarization
|
FACEBOOK_PROFILE_SUMMARIZATION_FEEDBACK
user feedback for facebook profile summarization
|
FEEDBACK
Feedback task.
|
SEARCH
search task
|
TWITTER_PROFILE_SUMMARIZATION
twitter user profile summarization
|
UNDEFINED
task type is unknown or undefined
|
| Modifier and Type | Method and Description |
|---|---|
static AsyncTask.TaskType |
fromInt(int value) |
static AsyncTask.TaskType |
fromString(java.lang.String value) |
int |
toInt() |
static AsyncTask.TaskType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AsyncTask.TaskType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsyncTask.TaskType UNDEFINED
public static final AsyncTask.TaskType ANALYSIS
public static final AsyncTask.TaskType SEARCH
public static final AsyncTask.TaskType FEEDBACK
public static final AsyncTask.TaskType FACEBOOK_PROFILE_SUMMARIZATION
public static final AsyncTask.TaskType FACEBOOK_PROFILE_SUMMARIZATION_FEEDBACK
public static final AsyncTask.TaskType TWITTER_PROFILE_SUMMARIZATION
public static final AsyncTask.TaskType BACKEND_FEEDBACK
public static AsyncTask.TaskType[] values()
for (AsyncTask.TaskType c : AsyncTask.TaskType.values()) System.out.println(c);
public static AsyncTask.TaskType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int toInt()
public static AsyncTask.TaskType fromInt(int value) throws java.lang.IllegalArgumentException
value - java.lang.IllegalArgumentException - on bad inputpublic static AsyncTask.TaskType fromString(java.lang.String value) throws java.lang.IllegalArgumentException
value - java.lang.IllegalArgumentException - on bad inputCopyright © 2015 Tampere University of Technology, Pori Department.