public class EJBTimerSchedule extends TimerSchedule
Constructor and Description |
---|
EJBTimerSchedule()
Construct EJBTimerSchedule instance with all defaults.
|
EJBTimerSchedule(ScheduledTimerDescriptor sd,
String methodName,
int paramCount)
Construct EJBTimerSchedule instance from a given Schedule annotation.
|
EJBTimerSchedule(javax.ejb.ScheduleExpression se)
Construct EJBTimerSchedule instance from a given ScheduleExpression.
|
EJBTimerSchedule(String s)
Construct EJBTimerSchedule instance with all defaults.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getMethodParamCount() |
String |
getScheduleAsString() |
javax.ejb.ScheduleExpression |
getScheduleExpression() |
String |
getTimerMethodName() |
int |
hashCode() |
boolean |
isAutomatic() |
protected boolean |
isExpectedElementCount(String[] el)
Validate number of elements in the input string
|
static boolean |
isValid(ScheduledTimerDescriptor s)
Returns true if this Schedule can calculate its next timeout
without errors.
|
EJBTimerSchedule |
setAutomatic(boolean b) |
configure, dayOfMonth, dayOfWeek, end, getDayOfMonth, getDayOfWeek, getEnd, getHour, getMinute, getMonth, getNextTimeout, getNextTimeout, getSecond, getStart, getTimeZone, getTimeZoneID, getYear, hour, isValid, minute, month, second, start, timezone, year
public EJBTimerSchedule()
public EJBTimerSchedule(javax.ejb.ScheduleExpression se)
public EJBTimerSchedule(ScheduledTimerDescriptor sd, String methodName, int paramCount)
public EJBTimerSchedule(String s)
public EJBTimerSchedule setAutomatic(boolean b)
public boolean isAutomatic()
public String getTimerMethodName()
public int getMethodParamCount()
public String getScheduleAsString()
getScheduleAsString
in class TimerSchedule
public javax.ejb.ScheduleExpression getScheduleExpression()
public int hashCode()
hashCode
in class TimerSchedule
public boolean equals(Object o)
equals
in class TimerSchedule
public static boolean isValid(ScheduledTimerDescriptor s)
protected boolean isExpectedElementCount(String[] el)
TimerSchedule
isExpectedElementCount
in class TimerSchedule
Copyright © 2019. All rights reserved.