|
||||||||||
| 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 |
addTestPlan(IterationTestPlanItem testPlan)
|
void |
addTestSuite(TestSuite suite)
|
boolean |
checkSuiteNameAvailable(String name)
|
Iteration |
createCopy()
copy of iteration doesn't contain test-suites !! |
Map<TestSuite,List<Integer>> |
createTestSuitesPastableCopy()
this method is used in case of copy paste of an iteration with test suites. |
int |
findItemIndexInTestPlan(long testPlanId)
Method which returns the position of an item test plan in the current iteration |
int |
findTestCaseIndexInTestPlan(long testCaseId)
Method which returns the position of a test case in the current iteration |
Date |
getActualEndDate()
|
Date |
getActualStartDate()
|
AttachmentList |
getAttachmentList()
Should return the container for this object's attachments. |
Campaign |
getCampaign()
|
CampaignLibrary |
getCampaignLibrary()
|
String |
getDescription()
|
List<Execution> |
getExecutions()
flattened list of the executions |
Long |
getId()
|
int |
getIndexOf(IterationTestPlanItem item)
|
String |
getName()
|
List<TestCase> |
getPlannedTestCase()
|
Project |
getProject()
|
Date |
getScheduledEndDate()
|
Date |
getScheduledStartDate()
|
IterationTestPlanItem |
getTestPlan(Long testPlanId)
|
IterationTestPlanItem |
getTestPlanForTestCaseId(Long testCaseId)
|
List<IterationTestPlanItem> |
getTestPlans()
|
Set<TestSuite> |
getTestSuites()
|
boolean |
hasTestSuites()
|
boolean |
isActualEndAuto()
|
boolean |
isActualStartAuto()
|
boolean |
isTestCasePlanned(Long testCaseId)
|
boolean |
isTestCasePlanned(TestCase testCase)
|
void |
moveTestPlan(int currentPosition,
int newPosition)
Deprecated. |
void |
moveTestPlans(int newIndex,
List<IterationTestPlanItem> movedItems)
|
void |
removeTestPlan(IterationTestPlanItem testPlan)
|
void |
removeTestSuite(TestSuite testSuite)
|
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. |
void |
updateAutoDatesAfterExecutionDetach(IterationTestPlanItem iterationTestPlanItem,
Execution execution)
will update acual end and start dates if are auto and if they were driven by the execution last-executed on |
| 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<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()
getId in interface org.squashtest.csp.core.domain.Identifiedpublic IterationTestPlanItem getTestPlan(Long testPlanId)
public Iteration createCopy()
copy of iteration doesn't contain test-suites !!
public List<IterationTestPlanItem> getTestPlans()
public List<TestCase> getPlannedTestCase()
public void removeTestSuite(@NotNull
TestSuite testSuite)
public void removeTestPlan(@NotNull
IterationTestPlanItem testPlan)
public void addTestPlan(@NotNull
IterationTestPlanItem testPlan)
public int findTestCaseIndexInTestPlan(long testCaseId)
testCaseId - the id of the test case we're looking for
UnknownEntityException - if not found.public int findItemIndexInTestPlan(long testPlanId)
testPlanId - the id of the test plan we're looking for
UnknownEntityException - if not found.
@Deprecated
public void moveTestPlan(int currentPosition,
int newPosition)
currentPosition - the current positionnewPosition - the new position
public void moveTestPlans(int newIndex,
List<IterationTestPlanItem> movedItems)
public int getIndexOf(IterationTestPlanItem item)
public boolean isTestCasePlanned(Long testCaseId)
public boolean isTestCasePlanned(TestCase testCase)
public IterationTestPlanItem getTestPlanForTestCaseId(Long testCaseId)
public Set<TestSuite> getTestSuites()
public void addTestSuite(TestSuite suite)
public boolean checkSuiteNameAvailable(String name)
public boolean hasTestSuites()
public AttachmentList getAttachmentList()
AttachmentHoldernull.
getAttachmentList in interface AttachmentHolderAttachmentList of this object.public Project getProject()
public CampaignLibrary getCampaignLibrary()
public void updateAutoDates(Date newItemTestPlanDate)
newItemTestPlanDate - public Map<TestSuite,List<Integer>> createTestSuitesPastableCopy()
public void updateAutoDatesAfterExecutionDetach(IterationTestPlanItem iterationTestPlanItem,
Execution execution)
execution -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||