com.projectdarkstar.tools.dtc.domain
Class TestQueue
java.lang.Object
com.projectdarkstar.tools.dtc.domain.TestQueue
- All Implemented Interfaces:
- Serializable
public class TestQueue
- extends Object
- implements Serializable
Wrapper object for a 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.
- See Also:
- Serialized Form
TestQueue
public TestQueue()
TestQueue
public TestQueue(Date dateQueued,
TestExecution execution)
getId
public Long getId()
- Returns the id of the entity in persistent storage
- Returns:
- id of the entity
setId
public void setId(Long id)
getDateQueued
public Date getDateQueued()
setDateQueued
public void setDateQueued(Date dateQueued)
getDateStarted
public Date getDateStarted()
setDateStarted
public void setDateStarted(Date dateStarted)
getStatus
public TestQueueStatus getStatus()
setStatus
public void setStatus(TestQueueStatus status)
getExecution
public TestExecution getExecution()
setExecution
public void setExecution(TestExecution execution)
getCurrentlyRunning
public TestExecutionResult getCurrentlyRunning()
setCurrentlyRunning
public void setCurrentlyRunning(TestExecutionResult currentlyRunning)
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2013. All Rights Reserved.