public class TestQueue extends Object implements Serializable
TestExecution that is currently running, or is
waiting to be run. TestQueue objects are intended to be picked up by
an external execution daemon to run the specified TestExecution.
When the execution is complete, the TestQueue object is discarded and
removed from persistent storage.| Constructor and Description |
|---|
TestQueue(Date dateQueued,
TestExecution execution) |
| Modifier and Type | Method and Description |
|---|---|
TestExecutionResult |
getCurrentlyRunning() |
Date |
getDateQueued() |
Date |
getDateStarted() |
TestExecution |
getExecution() |
Long |
getId()
Returns the id of the entity in persistent storage
|
TestQueueStatus |
getStatus() |
void |
setCurrentlyRunning(TestExecutionResult currentlyRunning) |
void |
setDateQueued(Date dateQueued) |
void |
setDateStarted(Date dateStarted) |
void |
setExecution(TestExecution execution) |
void |
setId(Long id) |
void |
setStatus(TestQueueStatus status) |
public TestQueue(Date dateQueued, TestExecution execution)
public Long getId()
public void setId(Long id)
public Date getDateQueued()
public void setDateQueued(Date dateQueued)
public Date getDateStarted()
public void setDateStarted(Date dateStarted)
public TestQueueStatus getStatus()
public void setStatus(TestQueueStatus status)
public TestExecution getExecution()
public void setExecution(TestExecution execution)
public TestExecutionResult getCurrentlyRunning()
public void setCurrentlyRunning(TestExecutionResult currentlyRunning)
Copyright © 2013. All Rights Reserved.