org.squashtest.csp.tm.domain.execution
Class Execution
java.lang.Object
org.squashtest.csp.tm.domain.execution.Execution
- All Implemented Interfaces:
- AttachmentHolder, Bugged
@Entity
public class Execution
- extends Object
- implements AttachmentHolder, Bugged
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Execution
public Execution()
Execution
public Execution(String description)
Execution
public Execution(String description,
TestCase testCase)
Execution
public Execution(TestCase testCase)
getSteps
public List<ExecutionStep> getSteps()
getExecutionStatus
public ExecutionStatus getExecutionStatus()
setExecutionStatus
public void setExecutionStatus(ExecutionStatus status)
getExecutionOrder
public Integer getExecutionOrder()
getLastExecutedBy
public String getLastExecutedBy()
setLastExecutedBy
public void setLastExecutedBy(String lastExecutedBy)
getLastExecutedOn
public Date getLastExecutedOn()
setLastExecutedOn
public void setLastExecutedOn(Date lastExecutedOn)
setReferencedTestCase
public final void setReferencedTestCase(TestCase testCase)
getExecutionMode
public TestCaseExecutionMode getExecutionMode()
getId
public Long getId()
- Specified by:
getId in interface Bugged
getReferencedTestCase
public TestCase getReferencedTestCase()
getName
public String getName()
setName
public final void setName(String name)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
addStep
public void addStep(@NotNull
ExecutionStep step)
getAttachmentList
public AttachmentList getAttachmentList()
- Description copied from interface:
AttachmentHolder
- Should return the container for this object's attachments. Should never return
null.
- Specified by:
getAttachmentList in interface AttachmentHolder
- Returns:
- the
AttachmentList of this object.
getTestPlan
public IterationTestPlanItem getTestPlan()
setTestPlan
public void setTestPlan(IterationTestPlanItem testPlan)
getProject
public Project getProject()
- Description copied from interface:
Bugged
- will return the (Squash) project that entity belongs to
- Specified by:
getProject in interface Bugged
- Returns:
- the project of that entity
getIssueList
public IssueList getIssueList()
- Specified by:
getIssueList in interface Bugged
- Returns:
- its IssueList
getIssueListId
public Long getIssueListId()
- Specified by:
getIssueListId in interface Bugged
- Returns:
- the Id of its IssueList
getAllIssueListId
public List<Long> getAllIssueListId()
- Specified by:
getAllIssueListId in interface Bugged
- Returns:
- the list of ids of its own IssueList and the result of getAllIssueListIds of other Bugged entities to which that Bugged
is bound to.
getDefaultDescription
public String getDefaultDescription()
- Description copied from interface:
Bugged
- used to prefill a bug report
- Specified by:
getDefaultDescription in interface Bugged
- Returns:
- a String representing the Description of a bug report.
getAllBuggeds
public List<Bugged> getAllBuggeds()
- Specified by:
getAllBuggeds in interface Bugged
- Returns:
- all the bugged entities to which that one is linked, including itself.
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.