public class BuildHungDetailsImpl extends Object implements BuildHungDetails
Constructor and Description |
---|
BuildHungDetailsImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Map<String,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
|
Date |
getTimeHangDetected()
When exactly the hung was detected
|
long |
getTimeSinceLastLogTime()
The diff between the last log time and current time
|
int |
hashCode() |
void |
populateDataFromMap(Map<String,String> dataMap) |
void |
setExpectedBuildTime(long expectedBuildTime) |
void |
setExpectedLogTime(long expectedLogTime) |
void |
setLastLogTime(long lastLogTime) |
void |
setTimeHangDetected(Date timeHangDetected) |
@NotNull public Map<String,String> getDataMap()
getDataMap
in interface BuildHungDetails
public void populateDataFromMap(Map<String,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 Date getTimeHangDetected()
BuildHungDetails
getTimeHangDetected
in interface BuildHungDetails
public void setTimeHangDetected(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)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.