com.sap.scheduler.api.fields

Class CronDOMField

java.lang.Object
  extended by com.sap.scheduler.api.CronField
      extended by com.sap.scheduler.api.fields.CronDOMField
All Implemented Interfaces:
Serializable

public class CronDOMField
extends CronField

This class represents a Cron day of month field.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sap.scheduler.api.CronField
FIELD_HOUR, FIELD_MINUTE, FIELD_MONTH, FIELD_MONTH_DAY, FIELD_OK, FIELD_WEEK_DAY, FIELD_YEAR, fieldCodesToErrMsgs, fldCode, INFINITY, INVALID_FIELD_CODE, strEntry
 
Constructor Summary
CronDOMField(int singleValue)
          Constructs a day of month field from given single value
CronDOMField(int start, int end)
          Constructs a day of month field from given range, e.g.
CronDOMField(int start, int end, int step)
          Constructs a day of month field from given range and step, e.g.
CronDOMField(String str)
          Constructs a day of month field from given cron
 
Method Summary
static String getStringValue(int val)
          Returns a string representation of a value
 
Methods inherited from class com.sap.scheduler.api.CronField
getMaxValue, getMaxValue, getMinValue, getMinValue, persistableValue, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CronDOMField

public CronDOMField(String str)
Constructs a day of month field from given cron

Parameters:
str - the cron field

CronDOMField

public CronDOMField(int singleValue)
Constructs a day of month field from given single value

Parameters:
singleValue - single value field entry

CronDOMField

public CronDOMField(int start,
                    int end)
Constructs a day of month field from given range, e.g. [start - end]

Parameters:
start - the start value
end - the end value

CronDOMField

public CronDOMField(int start,
                    int end,
                    int step)
Constructs a day of month field from given range and step, e.g. [start - end]/step

Parameters:
start - the start value
end - the end value
step - the step value
Method Detail

getStringValue

public static String getStringValue(int val)
Returns a string representation of a value

Parameters:
val - the integer value
Returns:
the string representation
Access Rights

This class can be accessed from:


SC DC
[sap.com] ENGFACADE [sap.com] tc/je/scheduler/api


Copyright 2010 SAP AG Complete Copyright Notice