Class BuildInfo

java.lang.Object
com.robestone.hudson.compactcolumns.BuildInfo
All Implemented Interfaces:
Comparable<BuildInfo>

public class BuildInfo extends Object implements Comparable<BuildInfo>
  • Constructor Details

    • BuildInfo

      public BuildInfo(Run<?,?> run, String color, String underlineStyle, long buildTime, String status, String urlPart, boolean isLatestBuild)
  • Method Details

    • getStableColor

      public static String getStableColor()
    • getUnstableColor

      public static String getUnstableColor()
    • getFailedColor

      public static String getFailedColor()
    • getOtherColor

      public static String getOtherColor()
    • getRun

      public Run<?,?> getRun()
    • getColor

      public String getColor()
    • getTimeAgoString

      public String getTimeAgoString()
    • getStatus

      public String getStatus()
    • getUrlPart

      public String getUrlPart()
    • isFirst

      public boolean isFirst()
    • isLatestBuild

      public boolean isLatestBuild()
    • getBuildTime

      public long getBuildTime()
    • isMultipleBuilds

      public boolean isMultipleBuilds()
    • getLatestBuildString

      public String getLatestBuildString(Locale locale)
    • getStartedAgo

      public String getStartedAgo(Locale locale)
    • getBuiltAt

      public String getBuiltAt(Locale locale)
    • getLastedDuration

      public String getLastedDuration(Locale locale)
    • getFontWeight

      public String getFontWeight()
    • getUnderlineStyle

      public String getUnderlineStyle()
    • setFirst

      public void setFirst(boolean first)
    • setMultipleBuilds

      public void setMultipleBuilds(boolean multipleBuilds)
    • setTimeAgoString

      public void setTimeAgoString(String timeAgoString)
    • compareTo

      public int compareTo(BuildInfo that)
      Sort by build number.
      Specified by:
      compareTo in interface Comparable<BuildInfo>
    • equals

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

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

      public String getTextDecoration()