public abstract class AbstractTaskDetails extends ResponseData
BackendStatusList
Modifier and Type | Class and Description |
---|---|
static class |
AbstractTaskDetails.TaskParameters
Abstract base class for optional task parameters.
|
Constructor and Description |
---|
AbstractTaskDetails() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getBackendId() |
BackendStatusList |
getBackends()
Default data groups: backend_status
|
java.lang.String |
getCallbackUri() |
java.lang.Class<?>[] |
getDataClasses()
The default implementation equals to calling getClass(), override this if your class requires other classes
for serialization purposes (which cannot be directly resolved).
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata() |
java.lang.Long |
getTaskId() |
abstract AbstractTaskDetails.TaskParameters |
getTaskParameters() |
AsyncTask.TaskType |
getTaskType() |
UserIdentity |
getUserId() |
java.lang.Long |
getUserIdValue() |
void |
setBackend(BackendStatus status) |
void |
setBackendId(java.lang.Integer backendId) |
void |
setBackends(BackendStatusList backends) |
void |
setCallbackUri(java.lang.String callbackUri)
Can be used to override the default, generated call back uri
|
void |
setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata) |
void |
setTaskId(java.lang.Long taskId) |
abstract void |
setTaskParameters(AbstractTaskDetails.TaskParameters parameters) |
void |
setTaskType(AsyncTask.TaskType type) |
void |
setUserId(UserIdentity userId) |
public AbstractTaskDetails()
public java.lang.Long getUserIdValue()
getUserId()
public UserIdentity getUserId()
setUserId(UserIdentity)
public void setUserId(UserIdentity userId)
userId
- getUserId()
public void setTaskType(AsyncTask.TaskType type)
type
- getTaskType()
public AsyncTask.TaskType getTaskType()
setTaskType(service.tut.pori.contentanalysis.AsyncTask.TaskType)
public java.lang.Integer getBackendId()
getBackendId()
public void setBackendId(java.lang.Integer backendId)
backendId
- getBackendId()
public java.lang.Long getTaskId()
setTaskId(Long)
public void setTaskId(java.lang.Long taskId)
taskId
- getTaskId()
public java.lang.String getCallbackUri()
setCallbackUri(String)
public void setCallbackUri(java.lang.String callbackUri)
callbackUri
- getCallbackUri()
public BackendStatusList getBackends()
setBackends(BackendStatusList)
public void setBackends(BackendStatusList backends)
backends
- the backends to setgetBackends()
public void setBackend(BackendStatus status)
status
- getBackends()
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
setMetadata(Map)
public void setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
metadata
- the metadata to setgetMetadata()
public java.lang.Class<?>[] getDataClasses()
ResponseData
getDataClasses
in class ResponseData
public abstract AbstractTaskDetails.TaskParameters getTaskParameters()
setTaskParameters(TaskParameters)
public abstract void setTaskParameters(AbstractTaskDetails.TaskParameters parameters)
parameters
- the parameters to setgetTaskParameters()
Copyright © 2015 Tampere University of Technology, Pori Department.