|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.service.scheduler.AbsoluteSchedule
atg.service.scheduler.RelativeSchedule
public class RelativeSchedule
This implementation of Schedule represents a Schedule for an job that occurs once, after a specified delay from the current time.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Constructor Summary | |
|---|---|
RelativeSchedule(long pDelay)
Constructs a new RelativeSchedule for a job that will occur after the specified delay (in msec) from the current time. |
|
RelativeSchedule(java.lang.String pValue,
java.util.Locale pLocale)
Creates a new RelativeSchedule instance from the String PValue passed in |
|
| Method Summary | |
|---|---|
protected int |
getUnitOfTimeIndex(java.lang.String pStr)
Returns the index into the units of time arrays for the specified unit of time. |
protected void |
initUnitOfTimeValues(java.util.ResourceBundle pBundle)
Initialize the arrays holding the units of time and their conversion factors. |
| Methods inherited from class atg.service.scheduler.AbsoluteSchedule |
|---|
equals, getNextJobTime, getResources, hashCode, isRepeating, mustKnowFirstTime, scheduleString, scheduleString, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public RelativeSchedule(java.lang.String pValue,
java.util.Locale pLocale)
throws atg.nucleus.PropertyValueParseException
RelativeSchedule instance from the String PValue passed in
pValue - a String valuepLocale - a Locale value
atg.nucleus.PropertyValueParseException - if the string can not be parsedpublic RelativeSchedule(long pDelay)
| Method Detail |
|---|
protected void initUnitOfTimeValues(java.util.ResourceBundle pBundle)
ResourceBundle - the locale-specific bundle to useprotected int getUnitOfTimeIndex(java.lang.String pStr)
String - the unit of time
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||