public class RemoteTaskRunnerWorkItem extends TaskRunnerWorkItem
Constructor and Description |
---|
RemoteTaskRunnerWorkItem(String taskId,
org.joda.time.DateTime createdTime,
org.joda.time.DateTime queueInsertionTime,
Worker worker) |
RemoteTaskRunnerWorkItem(String taskId,
Worker worker) |
Modifier and Type | Method and Description |
---|---|
Worker |
getWorker() |
void |
setResult(TaskStatus status) |
RemoteTaskRunnerWorkItem |
withQueueInsertionTime(org.joda.time.DateTime time) |
RemoteTaskRunnerWorkItem |
withWorker(Worker theWorker) |
compareTo, getCreatedTime, getQueueInsertionTime, getResult, getTaskId, toString
public Worker getWorker()
public void setResult(TaskStatus status)
public RemoteTaskRunnerWorkItem withQueueInsertionTime(org.joda.time.DateTime time)
withQueueInsertionTime
in class TaskRunnerWorkItem
public RemoteTaskRunnerWorkItem withWorker(Worker theWorker)
Copyright © 2011–2015. All rights reserved.