org.gcube.data.analysis.tabulardata.service.operation
Class ImmutableTask
java.lang.Object
org.gcube.data.analysis.tabulardata.service.operation.ImmutableTask
- All Implemented Interfaces:
- org.gcube.data.analysis.tabulardata.operation.worker.Job, Task
public class ImmutableTask
- extends Object
- implements Task
| Nested classes/interfaces inherited from interface org.gcube.data.analysis.tabulardata.service.operation.Task |
Task.TaskId |
|
Constructor Summary |
ImmutableTask(Task.TaskId id,
org.gcube.data.analysis.tabulardata.operation.worker.OperationInvocation sourceOperationInvocation,
List<TaskJob> jobs,
org.gcube.data.analysis.tabulardata.operation.worker.JobResult operationResult,
float progress,
org.gcube.data.analysis.tabulardata.operation.worker.ActivityStatus status,
Date startTime,
Date endTime,
String invokerUsername)
|
ImmutableTask(Task.TaskId id,
org.gcube.data.analysis.tabulardata.operation.worker.OperationInvocation sourceOperationInvocation,
List<TaskJob> operationInstanceSteps,
org.gcube.data.analysis.tabulardata.operation.worker.JobResult operationResult,
float progress,
org.gcube.data.analysis.tabulardata.operation.worker.ActivityStatus status,
Date startTime,
Date endTime,
String invokerUsername,
List<TabularResourceId> collateralTabularResourceIds)
|
ImmutableTask
public ImmutableTask(Task.TaskId id,
org.gcube.data.analysis.tabulardata.operation.worker.OperationInvocation sourceOperationInvocation,
List<TaskJob> jobs,
org.gcube.data.analysis.tabulardata.operation.worker.JobResult operationResult,
float progress,
org.gcube.data.analysis.tabulardata.operation.worker.ActivityStatus status,
Date startTime,
Date endTime,
String invokerUsername)
ImmutableTask
public ImmutableTask(Task.TaskId id,
org.gcube.data.analysis.tabulardata.operation.worker.OperationInvocation sourceOperationInvocation,
List<TaskJob> operationInstanceSteps,
org.gcube.data.analysis.tabulardata.operation.worker.JobResult operationResult,
float progress,
org.gcube.data.analysis.tabulardata.operation.worker.ActivityStatus status,
Date startTime,
Date endTime,
String invokerUsername,
List<TabularResourceId> collateralTabularResourceIds)
getId
public Task.TaskId getId()
- Specified by:
getId in interface 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
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 Task
getEndTime
public Date getEndTime()
- Specified by:
getEndTime in interface Task
getInvokerUsername
public String getInvokerUsername()
- Specified by:
getInvokerUsername in interface Task
getTaskJobs
public List<TaskJob> getTaskJobs()
- Specified by:
getTaskJobs in interface Task
getCollateralTabularResourceIds
public List<TabularResourceId> getCollateralTabularResourceIds()
- Specified by:
getCollateralTabularResourceIds in interface Task
abort
public void abort()
- Specified by:
abort in interface Task
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.