|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonyericsson.jenkins.plugins.bfa.graphs.FailureCauseTimeInterval
public class FailureCauseTimeInterval
Class containing statistics data for a time interval. A time interval consists of a TimePeriod, a name of the event during this period (e.g. failure cause name or failure cause category), a number of times the event happened, and finally an id of the event.
Constructor Summary | |
---|---|
FailureCauseTimeInterval(org.jfree.data.time.TimePeriod period,
String name,
int number)
Default constructor, used when no id of the event is available. |
|
FailureCauseTimeInterval(org.jfree.data.time.TimePeriod period,
String name,
String id,
int number)
Default constructor, used when an id of the event is available. |
Method Summary | |
---|---|
void |
addNumber(int add)
Adds to the number of times the event occurred. |
String |
getId()
Getter for the event id of this interval. |
String |
getName()
Getter for the event name of this interval. |
int |
getNumber()
Getter for the number of times the event occurred during this interval. |
org.jfree.data.time.TimePeriod |
getPeriod()
Getter for the time period of this interval. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FailureCauseTimeInterval(org.jfree.data.time.TimePeriod period, String name, int number)
period
- the TimePeriod in which the event happenedname
- the name of the eventnumber
- the number of times the event happenedpublic FailureCauseTimeInterval(org.jfree.data.time.TimePeriod period, String name, String id, int number)
period
- the TimePeriod in which the event happenedname
- the name of the eventid
- the id of the eventnumber
- the number of times the event happenedMethod Detail |
---|
public org.jfree.data.time.TimePeriod getPeriod()
public String getName()
public String getId()
public int getNumber()
public void addNumber(int add)
add
- number to addpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |