org.gcube.data.analysis.tabulardata.service.impl.operation.tasks
Class DefaultTask

java.lang.Object
  extended by org.gcube.data.analysis.tabulardata.service.impl.operation.tasks.DefaultTask
All Implemented Interfaces:
Serializable, org.gcube.data.analysis.tabulardata.operation.worker.Job, TaskObserver, org.gcube.data.analysis.tabulardata.service.operation.Task

public class DefaultTask
extends Object
implements org.gcube.data.analysis.tabulardata.service.operation.Task, TaskObserver, Serializable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.gcube.data.analysis.tabulardata.service.operation.Task
org.gcube.data.analysis.tabulardata.service.operation.Task.TaskId
 
Constructor Summary
protected DefaultTask(org.gcube.data.td.commons.webservice.types.TaskInfo taskInfo, org.gcube.data.analysis.tabulardata.clientlibrary.proxy.TaskManagerProxy taskManager, TaskUpdater updater)
           
 
Method Summary
 void abort()
           
 List<org.gcube.data.analysis.tabulardata.service.tabular.TabularResourceId> getCollateralTabularResourceIds()
           
 Date getEndTime()
           
 org.gcube.data.analysis.tabulardata.service.operation.Task.TaskId getId()
           
 String getInvokerUsername()
           
 String getObserverIdentifier()
           
 float getProgress()
           
 org.gcube.data.analysis.tabulardata.operation.worker.JobResult getResult()
           
 org.gcube.data.analysis.tabulardata.operation.worker.OperationInvocation getSourceInvocation()
           
 Date getStartTime()
           
 org.gcube.data.analysis.tabulardata.operation.worker.ActivityStatus getStatus()
           
 List<org.gcube.data.analysis.tabulardata.service.operation.TaskJob> getTaskJobs()
           
 void notify(org.gcube.data.td.commons.webservice.types.TaskInfo task)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTask

protected DefaultTask(org.gcube.data.td.commons.webservice.types.TaskInfo taskInfo,
                      org.gcube.data.analysis.tabulardata.clientlibrary.proxy.TaskManagerProxy taskManager,
                      TaskUpdater updater)
Method Detail

getProgress

public float getProgress()
Specified by:
getProgress in interface org.gcube.data.analysis.tabulardata.operation.worker.Job

getStatus

public org.gcube.data.analysis.tabulardata.operation.worker.ActivityStatus getStatus()
Specified by:
getStatus in interface org.gcube.data.analysis.tabulardata.operation.worker.Job

getSourceInvocation

public org.gcube.data.analysis.tabulardata.operation.worker.OperationInvocation getSourceInvocation()
Specified by:
getSourceInvocation in interface org.gcube.data.analysis.tabulardata.operation.worker.Job

getResult

public org.gcube.data.analysis.tabulardata.operation.worker.JobResult getResult()
Specified by:
getResult in interface org.gcube.data.analysis.tabulardata.operation.worker.Job

getId

public org.gcube.data.analysis.tabulardata.service.operation.Task.TaskId getId()
Specified by:
getId in interface org.gcube.data.analysis.tabulardata.service.operation.Task

getTaskJobs

public List<org.gcube.data.analysis.tabulardata.service.operation.TaskJob> getTaskJobs()
Specified by:
getTaskJobs in interface org.gcube.data.analysis.tabulardata.service.operation.Task

getStartTime

public Date getStartTime()
Specified by:
getStartTime in interface org.gcube.data.analysis.tabulardata.service.operation.Task

getEndTime

public Date getEndTime()
Specified by:
getEndTime in interface org.gcube.data.analysis.tabulardata.service.operation.Task

getInvokerUsername

public String getInvokerUsername()
Specified by:
getInvokerUsername in interface org.gcube.data.analysis.tabulardata.service.operation.Task

getCollateralTabularResourceIds

public List<org.gcube.data.analysis.tabulardata.service.tabular.TabularResourceId> getCollateralTabularResourceIds()
Specified by:
getCollateralTabularResourceIds in interface org.gcube.data.analysis.tabulardata.service.operation.Task

abort

public void abort()
Specified by:
abort in interface org.gcube.data.analysis.tabulardata.service.operation.Task

notify

public void notify(org.gcube.data.td.commons.webservice.types.TaskInfo task)
Specified by:
notify in interface TaskObserver

getObserverIdentifier

public String getObserverIdentifier()
Specified by:
getObserverIdentifier in interface TaskObserver


Copyright © 2013. All Rights Reserved.