com.danube.scrumworks.api2
Class DashboardReleaseStatistics

java.lang.Object
  extended by com.danube.scrumworks.api2.DashboardReleaseStatistics

public final class DashboardReleaseStatistics
extends java.lang.Object

Statistics about a release within the given date range for a product.


Constructor Summary
DashboardReleaseStatistics()
          Constructs a new DashboardReleaseStatistics.
DashboardReleaseStatistics(Release release, int completedBacklogEffort, int totalBacklogEffort, boolean hasUnestimatedItems)
          Constructs a new DashboardReleaseStatistics.
 
Method Summary
 int getCompletedBacklogEffort()
          Gets the total effort for all backlog items marked done.
 Release getRelease()
          Gets the release.
 int getTotalBacklogEffort()
          Gets the total effort for all backlog items in this release.
 boolean isHasUnestimatedItems()
          Checks if release contains unestimated backlog items.
 void setCompletedBacklogEffort(int completedBacklogEffort)
          Sets the completed backlog effort.
 void setHasUnestimatedItems(boolean hasUnestimatedItems)
          Sets whether this release contains any unestimated backlog items.
 void setRelease(Release release)
          Sets the release.
 void setTotalBacklogEffort(int totalBacklogEffort)
          Sets the total backlog item effort.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DashboardReleaseStatistics

public DashboardReleaseStatistics()
Constructs a new DashboardReleaseStatistics.


DashboardReleaseStatistics

public DashboardReleaseStatistics(Release release,
                                  int completedBacklogEffort,
                                  int totalBacklogEffort,
                                  boolean hasUnestimatedItems)
Constructs a new DashboardReleaseStatistics.

Parameters:
release - the release
completedBacklogEffort - total effort for done backlog items in release
totalBacklogEffort - total effort for all backlog items in release
hasUnestimatedItems - does release have any unestimated backlog items
Method Detail

getRelease

public Release getRelease()
Gets the release.

Returns:
the release.

setRelease

public void setRelease(Release release)
Sets the release.

Parameters:
release - the release.

getCompletedBacklogEffort

public int getCompletedBacklogEffort()
Gets the total effort for all backlog items marked done.

Returns:
the completed backlog effort.

setCompletedBacklogEffort

public void setCompletedBacklogEffort(int completedBacklogEffort)
Sets the completed backlog effort.

Parameters:
completedBacklogEffort - the completed backlog effort.

getTotalBacklogEffort

public int getTotalBacklogEffort()
Gets the total effort for all backlog items in this release.

Returns:
the total backlog item effort.

setTotalBacklogEffort

public void setTotalBacklogEffort(int totalBacklogEffort)
Sets the total backlog item effort.

Parameters:
totalBacklogEffort - the total backlog item effort.

isHasUnestimatedItems

public boolean isHasUnestimatedItems()
Checks if release contains unestimated backlog items.

Returns:
true if this release contains unestimated backlog items.

setHasUnestimatedItems

public void setHasUnestimatedItems(boolean hasUnestimatedItems)
Sets whether this release contains any unestimated backlog items.

Parameters:
hasUnestimatedItems - true if this release contains unestimated backlog items.