|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squashtest.csp.tm.domain.campaign.Iteration
@Entity public class Iteration
| Constructor Summary | |
|---|---|
Iteration()
|
|
| Method Summary | |
|---|---|
void |
addExecution(Execution execution)
That method will add an Execution to the iteration. |
void |
addTestPlan(IterationTestPlanItem testPlan)
|
Iteration |
createCopy()
|
int |
findTestCaseInIteration(Long testCaseId)
Method which returns the position of a test case in the current iteration |
int |
findTestPlanInIteration(Long testPlanId)
Method which returns the position of an item test plan in the current iteration |
Date |
getActualEndDate()
|
Date |
getActualStartDate()
|
AttachmentList |
getAttachmentList()
Should return the container for this object's attachments. |
Campaign |
getCampaign()
|
String |
getDescription()
|
List<Execution> |
getExecutions()
|
Long |
getId()
|
String |
getName()
|
List<TestCase> |
getPlannedTestCase()
|
Project |
getProject()
|
Date |
getScheduledEndDate()
|
Date |
getScheduledStartDate()
|
IterationTestPlanItem |
getTestPlan(Long testPlanId)
|
IterationTestPlanItem |
getTestPlanForTestCaseId(Long testCaseId)
|
List<IterationTestPlanItem> |
getTestPlans()
|
boolean |
isActualEndAuto()
|
boolean |
isActualStartAuto()
|
boolean |
isTestCasePlanned(Long testCaseId)
|
boolean |
isTestCasePlanned(TestCase testCase)
|
void |
moveTestPlan(int currentPosition,
int newPosition)
Method which sets a test case at a new position |
void |
removeTestPlan(IterationTestPlanItem testPlan)
|
void |
setActualEndAuto(boolean actualEndAuto)
|
void |
setActualEndDate(Date endDate)
|
void |
setActualStartAuto(boolean actualStartAuto)
|
void |
setActualStartDate(Date startDate)
|
void |
setDescription(String description)
|
void |
setName(String name)
|
void |
setScheduledEndDate(Date endDate)
|
void |
setScheduledStartDate(Date startDate)
|
void |
updateAutoDates(Date newItemTestPlanDate)
If the iteration have autodates set, they will be updated accordingly. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Iteration()
| Method Detail |
|---|
public List<IterationTestPlanItem> getTestPlans()
public void addExecution(@NotNull
Execution execution)
execution - public List<TestCase> getPlannedTestCase()
public void addTestPlan(@NotNull
IterationTestPlanItem testPlan)
public void removeTestPlan(@NotNull
IterationTestPlanItem testPlan)
public List<Execution> getExecutions()
public void setName(String name)
@NotBlank public String getName()
public Campaign getCampaign()
public void setDescription(String description)
public String getDescription()
public void setScheduledStartDate(Date startDate)
public Date getScheduledStartDate()
public void setScheduledEndDate(Date endDate)
public Date getScheduledEndDate()
public void setActualStartDate(Date startDate)
public Date getActualStartDate()
public void setActualEndDate(Date endDate)
public Date getActualEndDate()
public boolean isActualStartAuto()
public boolean isActualEndAuto()
public void setActualStartAuto(boolean actualStartAuto)
public void setActualEndAuto(boolean actualEndAuto)
public Long getId()
public IterationTestPlanItem getTestPlanForTestCaseId(Long testCaseId)
public IterationTestPlanItem getTestPlan(Long testPlanId)
public boolean isTestCasePlanned(Long testCaseId)
public boolean isTestCasePlanned(TestCase testCase)
public Iteration createCopy()
public int findTestCaseInIteration(Long testCaseId)
testCaseId - the id of the test case we're looking for
UnknownEntityException - if not found.public int findTestPlanInIteration(Long testPlanId)
testPlanId - the id of the test plan we're looking for
UnknownEntityException - if not found.
public void moveTestPlan(int currentPosition,
int newPosition)
currentPosition - the current positionnewPosition - the new positionpublic AttachmentList getAttachmentList()
AttachmentHoldernull.
getAttachmentList in interface AttachmentHolderAttachmentList of this object.public Project getProject()
public void updateAutoDates(Date newItemTestPlanDate)
newItemTestPlanDate -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||