public enum LateExecutionThreshold extends Enum<LateExecutionThreshold>
Enum Constant and Description |
---|
LATE_EXECUTION_THRESHOLD_10M
10 minutes threshold.
|
LATE_EXECUTION_THRESHOLD_15M
15 minutes threshold.
|
LATE_EXECUTION_THRESHOLD_1H
1 hour threshold.
|
LATE_EXECUTION_THRESHOLD_20M
20 minutes threshold.
|
LATE_EXECUTION_THRESHOLD_2H
2 hours threshold.
|
LATE_EXECUTION_THRESHOLD_30M
30 minutes threshold.
|
LATE_EXECUTION_THRESHOLD_45M
45 minutes threshold.
|
LATE_EXECUTION_THRESHOLD_5M
5 minutes threshold.
|
Modifier and Type | Field and Description |
---|---|
private String |
description
Translation in minutes/hours of the late execution threshold.
|
private int |
threshold
Late execution threshold.
|
Modifier and Type | Method and Description |
---|---|
int |
getThreshold()
Get the threshold.
|
String |
toString()
Return the description of a threshold.
|
static LateExecutionThreshold |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LateExecutionThreshold[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LateExecutionThreshold LATE_EXECUTION_THRESHOLD_5M
public static final LateExecutionThreshold LATE_EXECUTION_THRESHOLD_10M
public static final LateExecutionThreshold LATE_EXECUTION_THRESHOLD_15M
public static final LateExecutionThreshold LATE_EXECUTION_THRESHOLD_20M
public static final LateExecutionThreshold LATE_EXECUTION_THRESHOLD_30M
public static final LateExecutionThreshold LATE_EXECUTION_THRESHOLD_45M
public static final LateExecutionThreshold LATE_EXECUTION_THRESHOLD_1H
public static final LateExecutionThreshold LATE_EXECUTION_THRESHOLD_2H
private final int threshold
private final String description
public static LateExecutionThreshold[] values()
for (LateExecutionThreshold c : LateExecutionThreshold.values()) System.out.println(c);
public static LateExecutionThreshold valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic int getThreshold()
public String toString()
toString
in class Enum<LateExecutionThreshold>
Copyright © 2013–2015. All rights reserved.