public class CronColumn
extends java.lang.Object
implements java.lang.Comparable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static CronColumn |
DAY_OF_MONTH
The Day-of-Month Cron column.
|
static CronColumn |
DAY_OF_WEEK
The Day-of-Week Cron column.
|
static CronColumn |
DAY_OF_YEAR
The Day-of-Year Cron column.
|
static CronColumn |
HOUR
The Hour Cron column.
|
static CronColumn |
MILLISECOND
The Millisecond Cron column.
|
static CronColumn |
MINUTE
The Minute Cron column.
|
static CronColumn |
MONTH
The Month Cron column.
|
static CronColumn |
SECOND
The Second Cron column.
|
static java.util.List |
VALUES
The Cron columns as an ordered enumeration.
|
static CronColumn |
WEEK_OF_MONTH
The Week-of-Month Cron column.
|
static CronColumn |
WEEK_OF_YEAR
The Week-of-Year Cron column.
|
static CronColumn |
YEAR
The Year Cron column.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o)
Determines whether one enumerated element precedes another.
|
static CronColumn |
getInstance(java.lang.String enumeration)
Returns a pre-existing instance of this enumeration from the specified
name.
|
int |
getMaximum()
Returns the maximum legal value for the Cron column.
|
int |
getMinimum()
Returns the minimum legal value for the Cron column.
|
java.lang.String |
getName()
Returns the name of the Cron column.
|
static CronColumn |
next(CronColumn column)
Returns the following CronColumn to the specified CronColumn.
|
static CronColumn |
previous(CronColumn column)
Returns the previous CronColumn to the specified CronColumn.
|
java.lang.String |
toString()
Returns the name of the Cron column.
|
public static final CronColumn MILLISECOND
public static final CronColumn SECOND
public static final CronColumn MINUTE
public static final CronColumn HOUR
public static final CronColumn DAY_OF_MONTH
public static final CronColumn MONTH
public static final CronColumn DAY_OF_WEEK
public static final CronColumn DAY_OF_YEAR
public static final CronColumn WEEK_OF_MONTH
public static final CronColumn WEEK_OF_YEAR
public static final CronColumn YEAR
public static final java.util.List VALUES
public static CronColumn getInstance(java.lang.String enumeration)
enumeration
- The name of a pre-existing instance of this
enumeration.java.lang.IllegalArgumentException
- If the name of the specified enumeration
instance does not exist.public static final CronColumn next(CronColumn column)
column
- The base CronColumn. The CronColumn immediately following the
base CronColumn will be returned.public static final CronColumn previous(CronColumn column)
column
- The base CronColumn. The CronColumn immediately preceding the
base CronColumn will be returned.public int getMaximum()
public int getMinimum()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
© 2000-2025 Flux Corporation. All rights reserved.