|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.model.stats.Capacities
public class Capacities
Holder of capacity objects.
Constructor Summary | |
---|---|
Capacities()
|
|
Capacities(java.util.List<Capacity> capacities)
|
Method Summary | |
---|---|
Capacity |
get(WatchedField watchedField)
|
java.util.List<Capacity> |
getCapacities()
|
java.lang.String |
getCapacityMessage(com.atlassian.crowd.embedded.api.User user,
I18n2 i18n,
Summary summary,
boolean forMax)
Get the capacity message for a capacities object |
boolean |
hasStats()
|
boolean |
isMaxBusted(Summary summary)
Are the capacities max busted? |
boolean |
isMinBusted(Summary summary)
Are the capacities min busted? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Capacities()
public Capacities(java.util.List<Capacity> capacities)
Method Detail |
---|
public java.util.List<Capacity> getCapacities()
public Capacity get(WatchedField watchedField)
public boolean hasStats()
public boolean isMaxBusted(Summary summary)
summary
- The summary object containing the statistics to check
public boolean isMinBusted(Summary summary)
summary
- The summary object containing the statistics to check
public java.lang.String getCapacityMessage(com.atlassian.crowd.embedded.api.User user, I18n2 i18n, Summary summary, boolean forMax)
forMax
- if true the message for the max busted capacities is created, for min if false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |