Class BuildHungDetailsImpl

java.lang.Object
com.atlassian.bamboo.build.monitoring.BuildHungDetailsImpl
All Implemented Interfaces:
BuildHungDetails, Serializable

public class BuildHungDetailsImpl extends Object implements BuildHungDetails
See Also:
  • Constructor Details

    • BuildHungDetailsImpl

      public BuildHungDetailsImpl()
  • Method Details

    • getDataMap

      @NotNull public @NotNull Map<String,String> getDataMap()
      Specified by:
      getDataMap in interface BuildHungDetails
    • populateDataFromMap

      public void populateDataFromMap(Map<String,String> dataMap)
      Specified by:
      populateDataFromMap in interface BuildHungDetails
    • getTimeSinceLastLogTime

      public long getTimeSinceLastLogTime()
      Description copied from interface: BuildHungDetails
      The diff between the last log time and current time
      Specified by:
      getTimeSinceLastLogTime in interface BuildHungDetails
      Returns:
    • getLastLogTime

      public long getLastLogTime()
      Description copied from interface: BuildHungDetails
      The last date when a log has been received
      Specified by:
      getLastLogTime in interface BuildHungDetails
      Returns:
    • setLastLogTime

      public void setLastLogTime(long lastLogTime)
    • getTimeHangDetected

      public Date getTimeHangDetected()
      Description copied from interface: BuildHungDetails
      When exactly the hung was detected
      Specified by:
      getTimeHangDetected in interface BuildHungDetails
      Returns:
    • setTimeHangDetected

      public void setTimeHangDetected(Date timeHangDetected)
    • getExpectedBuildTime

      public long getExpectedBuildTime()
      Description copied from interface: BuildHungDetails
      The calculated expected build time - takes into account the average build time and the user configuration of the build multiplies
      Specified by:
      getExpectedBuildTime in interface BuildHungDetails
      Returns:
    • setExpectedBuildTime

      public void setExpectedBuildTime(long expectedBuildTime)
    • getExpectedLogTime

      public long getExpectedLogTime()
      Description copied from interface: BuildHungDetails
      The expected log time (as configured by the user)
      Specified by:
      getExpectedLogTime in interface BuildHungDetails
      Returns:
    • setExpectedLogTime

      public void setExpectedLogTime(long expectedLogTime)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object