com.googlecode.refit.jenkins
Class ChartLabel

java.lang.Object
  extended by com.googlecode.refit.jenkins.ChartLabel
All Implemented Interfaces:
Comparable<ChartLabel>

public class ChartLabel
extends Object
implements Comparable<ChartLabel>

A label for a data point in the trend graph.

Derived from hudson.tasks.junit.History.ChartLabel, which does not quite do what we need for reFit and is not public anyway.

Author:
Harald Wellmann

Constructor Summary
ChartLabel(hudson.tasks.test.TestResult o)
           
 
Method Summary
 int compareTo(ChartLabel that)
           
 boolean equals(Object o)
           
 Color getColor()
           
 hudson.tasks.test.TestResult getResult()
           
 String getUrl()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChartLabel

public ChartLabel(hudson.tasks.test.TestResult o)
Method Detail

getUrl

public String getUrl()

compareTo

public int compareTo(ChartLabel that)
Specified by:
compareTo in interface Comparable<ChartLabel>

equals

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

getColor

public Color getColor()

getResult

public hudson.tasks.test.TestResult getResult()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2011. All Rights Reserved.