public class TaskObject extends Object implements org.gcube.data.analysis.tabulardata.service.operation.Task, TaskObserver, Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
TaskObject(org.gcube.data.analysis.tabulardata.commons.webservice.types.TaskInfo taskInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
Date |
getEndTime() |
Throwable |
getErrorCause() |
org.gcube.data.analysis.tabulardata.service.operation.TaskId |
getId() |
org.gcube.data.analysis.tabulardata.commons.webservice.types.operations.OperationExecution |
getInvocation() |
String |
getObserverIdentifier() |
float |
getProgress() |
org.gcube.data.analysis.tabulardata.service.operation.TaskResult |
getResult() |
Date |
getStartTime() |
org.gcube.data.analysis.tabulardata.commons.webservice.types.TaskStatus |
getStatus() |
String |
getSubmitter() |
org.gcube.data.analysis.tabulardata.service.operation.TaskId |
getTaskId() |
List<org.gcube.data.analysis.tabulardata.service.operation.Job> |
getTaskJobs() |
org.gcube.data.analysis.tabulardata.commons.webservice.types.TaskInfo.TaskType |
getTaskType() |
void |
notify(org.gcube.data.analysis.tabulardata.commons.webservice.types.TaskInfo task) |
protected void |
setUpdater(TaskUpdater updater) |
String |
toString() |
protected TaskObject(org.gcube.data.analysis.tabulardata.commons.webservice.types.TaskInfo taskInfo)
public org.gcube.data.analysis.tabulardata.service.operation.TaskId getTaskId()
public float getProgress()
getProgress in interface org.gcube.data.analysis.tabulardata.service.operation.Taskpublic org.gcube.data.analysis.tabulardata.service.operation.TaskId getId()
getId in interface org.gcube.data.analysis.tabulardata.service.operation.Taskpublic Date getStartTime()
getStartTime in interface org.gcube.data.analysis.tabulardata.service.operation.Taskpublic Date getEndTime()
getEndTime in interface org.gcube.data.analysis.tabulardata.service.operation.Taskpublic void abort()
abort in interface org.gcube.data.analysis.tabulardata.service.operation.Taskpublic void notify(org.gcube.data.analysis.tabulardata.commons.webservice.types.TaskInfo task)
notify in interface TaskObserverpublic String getObserverIdentifier()
getObserverIdentifier in interface TaskObserverpublic org.gcube.data.analysis.tabulardata.commons.webservice.types.TaskStatus getStatus()
getStatus in interface org.gcube.data.analysis.tabulardata.service.operation.Taskpublic org.gcube.data.analysis.tabulardata.commons.webservice.types.operations.OperationExecution getInvocation()
getInvocation in interface org.gcube.data.analysis.tabulardata.service.operation.Taskpublic org.gcube.data.analysis.tabulardata.service.operation.TaskResult getResult()
getResult in interface org.gcube.data.analysis.tabulardata.service.operation.Taskpublic List<org.gcube.data.analysis.tabulardata.service.operation.Job> getTaskJobs()
getTaskJobs in interface org.gcube.data.analysis.tabulardata.service.operation.Taskpublic String getSubmitter()
getSubmitter in interface org.gcube.data.analysis.tabulardata.service.operation.Taskpublic org.gcube.data.analysis.tabulardata.commons.webservice.types.TaskInfo.TaskType getTaskType()
getTaskType in interface org.gcube.data.analysis.tabulardata.service.operation.Taskpublic Throwable getErrorCause()
getErrorCause in interface org.gcube.data.analysis.tabulardata.service.operation.Taskprotected void setUpdater(TaskUpdater updater)
updater - the updater to setCopyright © 2014. All Rights Reserved.