org.squashtest.tm.service.statistics.campaign
Class ScheduledIteration

java.lang.Object
  extended by org.squashtest.tm.service.statistics.campaign.ScheduledIteration

public final class ScheduledIteration
extends Object


Field Summary
static String SCHED_ITER_MISSING_DATES_I18N
           
static String SCHED_ITER_NO_ITERATIONS_I18N
           
static String SCHED_ITER_OVERLAP_DATES_I18N
           
 
Constructor Summary
ScheduledIteration()
           
ScheduledIteration(long id, String name, long testplanCount, Date scheduledStart, Date scheduledEnd)
           
 
Method Summary
 void addCumulativeTestByDate(Object[] testByDate)
           
static void checkIterationsDatesIntegrity(Collection<ScheduledIteration> iterations)
           
 void computeCumulativeTestByDate(float initialCumulativeTests)
          Will fill the informations of field cumulativeTestsByDate.
 Collection<Object[]> getCumulativeTestsByDate()
           
 long getId()
           
 String getName()
           
 Date getScheduledEnd()
           
 Date getScheduledStart()
           
 long getTestplanCount()
           
 void setId(long id)
           
 void setName(String name)
           
 void setScheduledEnd(Date scheduledEnd)
           
 void setScheduledStart(Date scheduledStart)
           
 void setTestplanCount(long testplanCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCHED_ITER_NO_ITERATIONS_I18N

public static final String SCHED_ITER_NO_ITERATIONS_I18N
See Also:
Constant Field Values

SCHED_ITER_MISSING_DATES_I18N

public static final String SCHED_ITER_MISSING_DATES_I18N
See Also:
Constant Field Values

SCHED_ITER_OVERLAP_DATES_I18N

public static final String SCHED_ITER_OVERLAP_DATES_I18N
See Also:
Constant Field Values
Constructor Detail

ScheduledIteration

public ScheduledIteration()

ScheduledIteration

public ScheduledIteration(long id,
                          String name,
                          long testplanCount,
                          Date scheduledStart,
                          Date scheduledEnd)
Method Detail

getId

public long getId()

setId

public void setId(long id)

getName

public String getName()

setName

public void setName(String name)

getTestplanCount

public long getTestplanCount()

setTestplanCount

public void setTestplanCount(long testplanCount)

getScheduledStart

public Date getScheduledStart()

setScheduledStart

public void setScheduledStart(Date scheduledStart)

getScheduledEnd

public Date getScheduledEnd()

setScheduledEnd

public void setScheduledEnd(Date scheduledEnd)

getCumulativeTestsByDate

public Collection<Object[]> getCumulativeTestsByDate()

addCumulativeTestByDate

public void addCumulativeTestByDate(Object[] testByDate)

computeCumulativeTestByDate

public void computeCumulativeTestByDate(float initialCumulativeTests)
Will fill the informations of field cumulativeTestsByDate. Basically it means the cumulative average number of test that must be run within the scheduled time period per day, according to their workload.


checkIterationsDatesIntegrity

public static void checkIterationsDatesIntegrity(Collection<ScheduledIteration> iterations)


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.