|
SAP NetWeaver 7.11 (EhP1 SP03) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.scheduler.api.CronField
public abstract class CronField
This class is the base cron field class
| Field Summary | |
|---|---|
static int |
FIELD_HOUR
|
static int |
FIELD_MINUTE
|
static int |
FIELD_MONTH
|
static int |
FIELD_MONTH_DAY
|
protected static int |
FIELD_OK
|
static int |
FIELD_WEEK_DAY
|
static int |
FIELD_YEAR
|
protected static com.sap.engine.lib.util.HashMapIntObject |
fieldCodesToErrMsgs
|
protected int |
fldCode
|
static int |
INFINITY
|
protected static int |
INVALID_FIELD_CODE
|
protected String |
strEntry
|
| Constructor Summary | |
|---|---|
protected |
CronField(int fieldCode,
int singleValue)
Constructs and validates a cron field from given single value |
protected |
CronField(int fieldCode,
int start,
int end)
Constructs and validates a cron field from given value range, e.g. |
protected |
CronField(int fieldCode,
int start,
int end,
int step)
Constructs and validates a cron field from given value range and step, e.g. |
protected |
CronField(int fieldCode,
String str)
Constructs and validates a cron field from given cron |
| Method Summary | |
|---|---|
int |
getMaxValue()
Getter method |
protected static int |
getMaxValue(int fieldCode)
Getter method |
int |
getMinValue()
Getter method |
protected static int |
getMinValue(int fieldCode)
Getter method |
String |
persistableValue()
Returns the cron field a DB persistable |
String |
toString()
Returns a string representation of the cron field |
protected static int |
validate(String field,
int fieldCode)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int INFINITY
protected String strEntry
protected int fldCode
protected static int FIELD_OK
public static final int FIELD_YEAR
public static final int FIELD_MONTH
public static final int FIELD_MONTH_DAY
public static final int FIELD_WEEK_DAY
public static final int FIELD_HOUR
public static final int FIELD_MINUTE
protected static final int INVALID_FIELD_CODE
protected static final com.sap.engine.lib.util.HashMapIntObject fieldCodesToErrMsgs
| Constructor Detail |
|---|
protected CronField(int fieldCode,
String str)
fieldCode - the field type codestr - the cron
protected CronField(int fieldCode,
int singleValue)
fieldCode - the field type codesingleValue - the single value
protected CronField(int fieldCode,
int start,
int end)
fieldCode - the field type codestart - the start valueend - the end value
protected CronField(int fieldCode,
int start,
int end,
int step)
fieldCode - the field type codestart - the start valueend - the end valuestep - the step| Method Detail |
|---|
protected static int validate(String field,
int fieldCode)
public int getMinValue()
public int getMaxValue()
protected static int getMinValue(int fieldCode)
fieldCode - the field type code
protected static int getMaxValue(int fieldCode)
fieldCode - the field type code
public String toString()
toString in class Objectpublic String persistableValue()
|
SAP NetWeaver 7.11 (EhP1 SP03) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||