org.gcube.data.analysis.tabulardata.service.operation
Class DelegateTask

java.lang.Object
  extended by org.gcube.data.analysis.tabulardata.service.operation.DelegateTask
All Implemented Interfaces:
org.gcube.data.analysis.tabulardata.operation.worker.Job, org.gcube.data.analysis.tabulardata.service.operation.Task

public class DelegateTask
extends Object
implements org.gcube.data.analysis.tabulardata.service.operation.Task


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
DelegateTask(org.gcube.data.analysis.tabulardata.service.operation.Task delegate)
           
 
Method Summary
 void abort()
           
 org.gcube.data.analysis.tabulardata.service.operation.Task getDelegate()
           
 Date getEndTime()
           
 org.gcube.data.analysis.tabulardata.service.operation.Task.TaskId getId()
           
 String getInvokerUsername()
           
 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 setDelegate(org.gcube.data.analysis.tabulardata.service.operation.Task delegate)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DelegateTask

public DelegateTask(org.gcube.data.analysis.tabulardata.service.operation.Task delegate)
Method Detail

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

getSourceInvocation

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

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

getResult

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

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

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

abort

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

getDelegate

public org.gcube.data.analysis.tabulardata.service.operation.Task getDelegate()

setDelegate

public void setDelegate(org.gcube.data.analysis.tabulardata.service.operation.Task delegate)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.