|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MultiStageTimeSeries.TimeScale>
hudson.model.MultiStageTimeSeries.TimeScale
public static enum MultiStageTimeSeries.TimeScale
Choose which datapoint to use.
| Enum Constant Summary | |
|---|---|
HOUR
|
|
MIN
|
|
SEC10
|
|
| Field Summary | |
|---|---|
long |
tick
Number of milliseconds (10 secs, 1 min, and 1 hour) that this constant represents. |
| Method Summary | |
|---|---|
DateFormat |
createDateFormat()
Creates a new DateFormat suitable for processing
this MultiStageTimeSeries.TimeScale. |
static MultiStageTimeSeries.TimeScale |
parse(String type)
Parses the MultiStageTimeSeries.TimeScale from the query parameter. |
static MultiStageTimeSeries.TimeScale |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MultiStageTimeSeries.TimeScale[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MultiStageTimeSeries.TimeScale SEC10
public static final MultiStageTimeSeries.TimeScale MIN
public static final MultiStageTimeSeries.TimeScale HOUR
| Field Detail |
|---|
public final long tick
| Method Detail |
|---|
public static MultiStageTimeSeries.TimeScale[] values()
for (MultiStageTimeSeries.TimeScale c : MultiStageTimeSeries.TimeScale.values()) System.out.println(c);
public static MultiStageTimeSeries.TimeScale valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic DateFormat createDateFormat()
DateFormat suitable for processing
this MultiStageTimeSeries.TimeScale.
public static MultiStageTimeSeries.TimeScale parse(String type)
MultiStageTimeSeries.TimeScale from the query parameter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||