|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<StartedJobHistoryChartGen.TimeAxisResolution> dk.netarkivet.harvester.harvesting.monitor.StartedJobHistoryChartGen.TimeAxisResolution
protected static enum StartedJobHistoryChartGen.TimeAxisResolution
Time units used to scale the crawl time values and generate the chart's time axis ticks.
Enum Constant Summary | |
---|---|
day
One day. |
|
half_day
Twelve hours. |
|
hour
One hour. |
|
minute
One minute. |
|
second
One second. |
|
week
One week. |
Method Summary | |
---|---|
(package private) static StartedJobHistoryChartGen.TimeAxisResolution |
findTimeUnit(double seconds)
|
(package private) double[] |
scale(double[] timeInSeconds)
|
static StartedJobHistoryChartGen.TimeAxisResolution |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StartedJobHistoryChartGen.TimeAxisResolution[] |
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 StartedJobHistoryChartGen.TimeAxisResolution second
public static final StartedJobHistoryChartGen.TimeAxisResolution minute
public static final StartedJobHistoryChartGen.TimeAxisResolution hour
public static final StartedJobHistoryChartGen.TimeAxisResolution half_day
public static final StartedJobHistoryChartGen.TimeAxisResolution day
public static final StartedJobHistoryChartGen.TimeAxisResolution week
Method Detail |
---|
public static StartedJobHistoryChartGen.TimeAxisResolution[] values()
for (StartedJobHistoryChartGen.TimeAxisResolution c : StartedJobHistoryChartGen.TimeAxisResolution.values()) System.out.println(c);
public static StartedJobHistoryChartGen.TimeAxisResolution valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nulldouble[] scale(double[] timeInSeconds)
static StartedJobHistoryChartGen.TimeAxisResolution findTimeUnit(double seconds)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |