public class GraphOptionsInfo extends hudson.model.AbstractDescribableImpl<GraphOptionsInfo> implements Serializable, Comparable<GraphOptionsInfo>, Comparator<GraphOptionsInfo>
Modifier and Type | Class and Description |
---|---|
static class |
GraphOptionsInfo.DescriptorImpl
The type Descriptor.
|
Constructor and Description |
---|
GraphOptionsInfo()
Instantiates a new Graph options info.
|
GraphOptionsInfo(String name,
List<GraphOptionsCurveInfo> curve,
String statistic)
Instantiates a new Graph options info.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(GraphOptionsInfo o1,
GraphOptionsInfo o2)
Compare int.
|
int |
compareTo(GraphOptionsInfo o)
Compare to int.
|
boolean |
equals(Object obj)
Equals boolean.
|
List<GraphOptionsCurveInfo> |
getCurve()
Gets curve.
|
String |
getName()
Gets name.
|
String |
getStatistic()
Gets statistic.
|
int |
hashCode()
Hash code int.
|
void |
setCurve(List<GraphOptionsCurveInfo> curve)
Sets curve.
|
void |
setName(String name)
Sets name.
|
void |
setStatistic(String statistic)
Sets statistic.
|
String |
toString()
To string string.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public GraphOptionsInfo()
@DataBoundConstructor public GraphOptionsInfo(String name, List<GraphOptionsCurveInfo> curve, String statistic)
name
- the namecurve
- the curvestatistic
- the statisticpublic String getName()
public void setName(String name)
name
- the name to setpublic List<GraphOptionsCurveInfo> getCurve()
public void setCurve(List<GraphOptionsCurveInfo> curve)
curve
- the curve to setpublic String getStatistic()
public void setStatistic(String statistic)
statistic
- the statistic to setpublic String toString()
public int compare(GraphOptionsInfo o1, GraphOptionsInfo o2)
compare
in interface Comparator<GraphOptionsInfo>
o1
- the o 1o2
- the o 2public int compareTo(GraphOptionsInfo o)
compareTo
in interface Comparable<GraphOptionsInfo>
o
- the opublic boolean equals(Object obj)
equals
in interface Comparator<GraphOptionsInfo>
equals
in class Object
obj
- the objCopyright © 2004-2021. All Rights Reserved.