public class EJBCronTrigger
extends CronTriggerImpl
Modifier and Type | Class and Description |
---|---|
static class |
EJBCronTrigger.ParseException |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DELIMITER |
Constructor and Description |
---|
EJBCronTrigger(ScheduleExpression expr) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getFinalFireTime()
Works similarly to getFireTimeAfter() but backwards.
|
java.util.Date |
getFireTimeAfter(java.util.Date afterTime) |
java.lang.String |
getRawValue() |
boolean |
hasAdditionalProperties() |
protected org.apache.openejb.core.timer.EJBCronTrigger.FieldExpression |
parseExpression(int field,
java.lang.String expr)
Computes a set of allowed values for the given field of a calendar based
time expression.
|
public static final java.lang.String DELIMITER
public EJBCronTrigger(ScheduleExpression expr) throws EJBCronTrigger.ParseException
EJBCronTrigger.ParseException
protected org.apache.openejb.core.timer.EJBCronTrigger.FieldExpression parseExpression(int field, java.lang.String expr) throws EJBCronTrigger.ParseException
field
- field type from java.util.Calendar
expr
- a time expressionEJBCronTrigger.ParseException
- when there is a syntax error in the expression, or its values
are out of rangepublic java.util.Date getFinalFireTime()
public java.util.Date getFireTimeAfter(java.util.Date afterTime)
public java.lang.String getRawValue()
public boolean hasAdditionalProperties()