|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.monitoring.BuildHungDetailsImpl
public class BuildHungDetailsImpl
Constructor Summary | |
---|---|
BuildHungDetailsImpl()
|
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getDataMap()
|
long |
getExpectedBuildTime()
The calculated expected build time - takes into account the average build time and the user configuration of the build multiplies |
long |
getExpectedLogTime()
The expected log time (as configured by the user) |
long |
getLastLogTime()
The last date when a log has been received |
java.util.Date |
getTimeHangDetected()
When exactly the hung was detected |
long |
getTimeSinceLastLogTime()
The diff between the last log time and current time |
void |
populateDataFromMap(java.util.Map<java.lang.String,java.lang.String> dataMap)
|
void |
setExpectedBuildTime(long expectedBuildTime)
|
void |
setExpectedLogTime(long expectedLogTime)
|
void |
setLastLogTime(long lastLogTime)
|
void |
setTimeHangDetected(java.util.Date timeHangDetected)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildHungDetailsImpl()
Method Detail |
---|
@NotNull public java.util.Map<java.lang.String,java.lang.String> getDataMap()
getDataMap
in interface BuildHungDetails
public void populateDataFromMap(java.util.Map<java.lang.String,java.lang.String> dataMap)
populateDataFromMap
in interface BuildHungDetails
public long getTimeSinceLastLogTime()
BuildHungDetails
getTimeSinceLastLogTime
in interface BuildHungDetails
public long getLastLogTime()
BuildHungDetails
getLastLogTime
in interface BuildHungDetails
public void setLastLogTime(long lastLogTime)
public java.util.Date getTimeHangDetected()
BuildHungDetails
getTimeHangDetected
in interface BuildHungDetails
public void setTimeHangDetected(java.util.Date timeHangDetected)
public long getExpectedBuildTime()
BuildHungDetails
getExpectedBuildTime
in interface BuildHungDetails
public void setExpectedBuildTime(long expectedBuildTime)
public long getExpectedLogTime()
BuildHungDetails
getExpectedLogTime
in interface BuildHungDetails
public void setExpectedLogTime(long expectedLogTime)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |