com.liferay.portal.kernel.scheduler
Interface SchedulerEngine
public interface SchedulerEngine
- Author:
- Michael C. Han, Bruno Farache, Shuyang Zhou, Tina Tian
AUDIT_ACTION
static final java.lang.String AUDIT_ACTION
- See Also:
- Constant Field Values
CONTEXT_PATH
static final java.lang.String CONTEXT_PATH
- See Also:
- Constant Field Values
DESCRIPTION
static final java.lang.String DESCRIPTION
- See Also:
- Constant Field Values
DESCRIPTION_MAX_LENGTH
static final int DESCRIPTION_MAX_LENGTH
DESTINATION_NAME
static final java.lang.String DESTINATION_NAME
- See Also:
- Constant Field Values
DISABLE
static final java.lang.String DISABLE
- See Also:
- Constant Field Values
END_TIME
static final java.lang.String END_TIME
- See Also:
- Constant Field Values
EXCEPTIONS_MAX_SIZE
static final java.lang.String EXCEPTIONS_MAX_SIZE
- See Also:
- Constant Field Values
FINAL_FIRE_TIME
static final java.lang.String FINAL_FIRE_TIME
- See Also:
- Constant Field Values
GROUP_NAME
static final java.lang.String GROUP_NAME
- See Also:
- Constant Field Values
GROUP_NAME_MAX_LENGTH
static final int GROUP_NAME_MAX_LENGTH
JOB_NAME
static final java.lang.String JOB_NAME
- See Also:
- Constant Field Values
JOB_NAME_MAX_LENGTH
static final int JOB_NAME_MAX_LENGTH
JOB_STATE
static final java.lang.String JOB_STATE
- See Also:
- Constant Field Values
LANGUAGE
static final java.lang.String LANGUAGE
- See Also:
- Constant Field Values
MESSAGE
static final java.lang.String MESSAGE
- See Also:
- Constant Field Values
MESSAGE_LISTENER_CLASS_NAME
static final java.lang.String MESSAGE_LISTENER_CLASS_NAME
- See Also:
- Constant Field Values
MESSAGE_LISTENER_UUID
static final java.lang.String MESSAGE_LISTENER_UUID
- See Also:
- Constant Field Values
NEXT_FIRE_TIME
static final java.lang.String NEXT_FIRE_TIME
- See Also:
- Constant Field Values
PORTLET_ID
static final java.lang.String PORTLET_ID
- See Also:
- Constant Field Values
PREVIOUS_FIRE_TIME
static final java.lang.String PREVIOUS_FIRE_TIME
- See Also:
- Constant Field Values
RECEIVER_KEY
static final java.lang.String RECEIVER_KEY
- See Also:
- Constant Field Values
SCRIPT
static final java.lang.String SCRIPT
- See Also:
- Constant Field Values
START_TIME
static final java.lang.String START_TIME
- See Also:
- Constant Field Values
STORAGE_TYPE
static final java.lang.String STORAGE_TYPE
- See Also:
- Constant Field Values
delete
void delete(java.lang.String groupName)
throws SchedulerException
- Throws:
SchedulerException
delete
void delete(java.lang.String jobName,
java.lang.String groupName)
throws SchedulerException
- Throws:
SchedulerException
getScheduledJob
@MessagingProxy(mode=SYNC)
SchedulerResponse getScheduledJob(java.lang.String jobName,
java.lang.String groupName)
throws SchedulerException
- Throws:
SchedulerException
getScheduledJobs
@MessagingProxy(mode=SYNC)
java.util.List<SchedulerResponse> getScheduledJobs()
throws SchedulerException
- Throws:
SchedulerException
getScheduledJobs
@MessagingProxy(mode=SYNC)
java.util.List<SchedulerResponse> getScheduledJobs(java.lang.String groupName)
throws SchedulerException
- Throws:
SchedulerException
pause
void pause(java.lang.String groupName)
throws SchedulerException
- Throws:
SchedulerException
pause
void pause(java.lang.String jobName,
java.lang.String groupName)
throws SchedulerException
- Throws:
SchedulerException
resume
void resume(java.lang.String groupName)
throws SchedulerException
- Throws:
SchedulerException
resume
void resume(java.lang.String jobName,
java.lang.String groupName)
throws SchedulerException
- Throws:
SchedulerException
schedule
void schedule(Trigger trigger,
java.lang.String description,
java.lang.String destinationName,
Message message)
throws SchedulerException
- Throws:
SchedulerException
shutdown
@MessagingProxy(mode=SYNC)
void shutdown()
throws SchedulerException
- Throws:
SchedulerException
start
@MessagingProxy(mode=SYNC)
void start()
throws SchedulerException
- Throws:
SchedulerException
suppressError
void suppressError(java.lang.String jobName,
java.lang.String groupName)
throws SchedulerException
- Throws:
SchedulerException
unschedule
@MessagingProxy(mode=SYNC)
void unschedule(java.lang.String groupName)
throws SchedulerException
- Throws:
SchedulerException
unschedule
@MessagingProxy(mode=SYNC)
void unschedule(java.lang.String jobName,
java.lang.String groupName)
throws SchedulerException
- Throws:
SchedulerException
update
void update(Trigger trigger)
throws SchedulerException
- Throws:
SchedulerException