|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonyericsson.jenkins.plugins.bfa.statistics.Statistics
public class Statistics
The statistics object which will be logged.
Nested Class Summary | |
---|---|
static class |
Statistics.UpstreamCause
Upstream cause. |
Constructor Summary | |
---|---|
Statistics(String projectName,
int buildNumber,
Date startingTime,
long duration,
List<String> triggerCauses,
String nodeName,
String master,
int timeZoneOffset,
String result,
List<FailureCauseStatistics> failureCauseStatistics)
Deprecated. |
|
Statistics(String projectName,
int buildNumber,
Date startingTime,
long duration,
List<String> triggerCauses,
String nodeName,
String master,
int timeZoneOffset,
String result,
Statistics.UpstreamCause upstreamCause,
List<FailureCauseStatistics> failureCauseStatistics)
Standard/JSON constructor. |
Method Summary | |
---|---|
int |
getBuildNumber()
Getter for the build number. |
long |
getDuration()
Getter for the duration. |
List<FailureCauseStatistics> |
getFailureCauseStatisticsList()
Getter for the List of statistics for FailureCauses. |
String |
getMaster()
Getter for the Jenkins master. |
String |
getProjectName()
Getter for the project name. |
String |
getResult()
Getter for the result of the build. |
String |
getSlaveHostName()
Getter for the host name of the slave. |
Date |
getStartingTime()
Getter for the starting time. |
int |
getTimeZoneOffset()
Getter for the time zone offset in milliseconds. |
List<String> |
getTriggerCauses()
Getter for the build cause that triggered the build. |
Statistics.UpstreamCause |
getUpstreamCause()
Getter for the upstream cause description. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Statistics(String projectName, int buildNumber, Date startingTime, long duration, List<String> triggerCauses, String nodeName, String master, int timeZoneOffset, String result, Statistics.UpstreamCause upstreamCause, List<FailureCauseStatistics> failureCauseStatistics)
projectName
- the project name.buildNumber
- the build number.startingTime
- the starting time.duration
- the duration.triggerCauses
- the causes that triggered this build.nodeName
- the name of the node this build ran on.master
- the master this build ran on.timeZoneOffset
- the time zone offset.result
- the result of the build.upstreamCause
- the upstream cause of the current build, if any.failureCauseStatistics
- the statistics for the FailureCauses.@Deprecated public Statistics(String projectName, int buildNumber, Date startingTime, long duration, List<String> triggerCauses, String nodeName, String master, int timeZoneOffset, String result, List<FailureCauseStatistics> failureCauseStatistics)
projectName
- the project name.buildNumber
- the build number.startingTime
- the starting time.duration
- the duration.triggerCauses
- the causes that triggered this build.nodeName
- the name of the node this build ran on.master
- the master this build ran on.timeZoneOffset
- the time zone offset.result
- the result of the build.failureCauseStatistics
- the statistics for the FailureCauses.Method Detail |
---|
public String getProjectName()
public int getBuildNumber()
public Date getStartingTime()
public long getDuration()
public List<String> getTriggerCauses()
public String getSlaveHostName()
public String getMaster()
public int getTimeZoneOffset()
public String getResult()
public Statistics.UpstreamCause getUpstreamCause()
public List<FailureCauseStatistics> getFailureCauseStatisticsList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |