javax.ejb
Class ScheduleExpression
java.lang.Object
javax.ejb.ScheduleExpression
- All Implemented Interfaces:
- Serializable
public final class ScheduleExpression
- extends Object
- implements Serializable
A calendar-based timeout expression for an enterprise bean timer.
See the Schedule annotation for the defaults.
- Since:
- 3.1
- Version:
- $Revision: $
- Author:
- Carlo de Wolf
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScheduleExpression
public ScheduleExpression()
dayOfMonth
public ScheduleExpression dayOfMonth(int d)
dayOfMonth
public ScheduleExpression dayOfMonth(String d)
dayOfWeek
public ScheduleExpression dayOfWeek(int d)
dayOfWeek
public ScheduleExpression dayOfWeek(String d)
end
public ScheduleExpression end(Date e)
getDayOfMonth
public String getDayOfMonth()
getDayOfWeek
public String getDayOfWeek()
getEnd
public Date getEnd()
getHour
public String getHour()
getMinute
public String getMinute()
getMonth
public String getMonth()
getSecond
public String getSecond()
getStart
public Date getStart()
getTimezone
public String getTimezone()
getYear
public String getYear()
hour
public ScheduleExpression hour(int h)
hour
public ScheduleExpression hour(String h)
minute
public ScheduleExpression minute(int m)
minute
public ScheduleExpression minute(String m)
month
public ScheduleExpression month(int m)
month
public ScheduleExpression month(String m)
second
public ScheduleExpression second(int s)
second
public ScheduleExpression second(String s)
start
public ScheduleExpression start(Date s)
timezone
public ScheduleExpression timezone(String s)
year
public ScheduleExpression year(int y)
year
public ScheduleExpression year(String y)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.