com.atlassian.jira.project.statistics
Class SecurityStatistic

java.lang.Object
  |
  +--com.atlassian.jira.project.statistics.SecurityStatistic

public class SecurityStatistic
extends java.lang.Object

This class holds a Map of StatisticCollection objects for a particular ProjectStatistics object and Security Level


Constructor Summary
SecurityStatistic(ProjectStatistics projectStats, org.ofbiz.core.entity.GenericValue securityLevel)
          This constructor creates a new Map of StatisticCollection objects for the ProjectStatistics object and Security Level
 
Method Summary
 boolean equals(java.lang.Object o)
           
 org.ofbiz.core.entity.GenericValue getSecurityLevel()
           
 StatisticCollection getStatisticCollection(StatisticType statisticType)
          Gets the StatisticCollection object for this StatisticType from the Map
 java.util.Map getStatisticCollections()
          Returns the map of all StatisticCollection objects for a particular ProjectStatistics object and Security Level
 int hashCode()
           
 java.lang.String toString()
           
 void updateStatistics(StatisticsUpdateEvent event)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SecurityStatistic

public SecurityStatistic(ProjectStatistics projectStats,
                         org.ofbiz.core.entity.GenericValue securityLevel)
This constructor creates a new Map of StatisticCollection objects for the ProjectStatistics object and Security Level

It gets a list of the different StatisticType objects and loops through each of these. For each StatisticType it generates a StatisticCollection object and puts this collection into the Map

Method Detail

getStatisticCollection

public StatisticCollection getStatisticCollection(StatisticType statisticType)
Gets the StatisticCollection object for this StatisticType from the Map


getStatisticCollections

public java.util.Map getStatisticCollections()
Returns the map of all StatisticCollection objects for a particular ProjectStatistics object and Security Level


equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

updateStatistics

public void updateStatistics(StatisticsUpdateEvent event)

getSecurityLevel

public org.ofbiz.core.entity.GenericValue getSecurityLevel()


Copyright © 2002-2003 Atlassian. All Rights Reserved.