com.liferay.portal.kernel.scheduler
Interface SchedulerEngine
- All Known Implementing Classes:
- ClusterSchedulerEngine, QuartzSchedulerEngine, SchedulerEngineProxyBean
public interface SchedulerEngine
AUDIT_ACTION
static final String AUDIT_ACTION
- See Also:
- Constant Field Values
CONTEXT_PATH
static final String CONTEXT_PATH
- See Also:
- Constant Field Values
DESCRIPTION
static final String DESCRIPTION
- See Also:
- Constant Field Values
DESCRIPTION_MAX_LENGTH
static final int DESCRIPTION_MAX_LENGTH
DESTINATION_NAME
static final String DESTINATION_NAME
- See Also:
- Constant Field Values
DISABLE
static final String DISABLE
- See Also:
- Constant Field Values
END_TIME
static final String END_TIME
- See Also:
- Constant Field Values
EXCEPTIONS_MAX_SIZE
static final String EXCEPTIONS_MAX_SIZE
- See Also:
- Constant Field Values
FINAL_FIRE_TIME
static final String FINAL_FIRE_TIME
- See Also:
- Constant Field Values
GROUP_NAME
static final String GROUP_NAME
- See Also:
- Constant Field Values
GROUP_NAME_MAX_LENGTH
static final int GROUP_NAME_MAX_LENGTH
JOB_NAME
static final String JOB_NAME
- See Also:
- Constant Field Values
JOB_NAME_MAX_LENGTH
static final int JOB_NAME_MAX_LENGTH
JOB_STATE
static final String JOB_STATE
- See Also:
- Constant Field Values
LANGUAGE
static final String LANGUAGE
- See Also:
- Constant Field Values
MESSAGE
static final String MESSAGE
- See Also:
- Constant Field Values
MESSAGE_LISTENER_CLASS_NAME
static final String MESSAGE_LISTENER_CLASS_NAME
- See Also:
- Constant Field Values
MESSAGE_LISTENER_UUID
static final String MESSAGE_LISTENER_UUID
- See Also:
- Constant Field Values
NEXT_FIRE_TIME
static final String NEXT_FIRE_TIME
- See Also:
- Constant Field Values
PORTLET_ID
static final String PORTLET_ID
- See Also:
- Constant Field Values
PREVIOUS_FIRE_TIME
static final String PREVIOUS_FIRE_TIME
- See Also:
- Constant Field Values
RECEIVER_KEY
static final String RECEIVER_KEY
- See Also:
- Constant Field Values
SCRIPT
static final String SCRIPT
- See Also:
- Constant Field Values
START_TIME
static final String START_TIME
- See Also:
- Constant Field Values
STORAGE_TYPE
static final String STORAGE_TYPE
- See Also:
- Constant Field Values
delete
void delete(String groupName)
throws SchedulerException
- Throws:
SchedulerException
delete
void delete(String jobName,
String groupName)
throws SchedulerException
- Throws:
SchedulerException
getScheduledJob
@MessagingProxy(mode=SYNC)
SchedulerResponse getScheduledJob(String jobName,
String groupName)
throws SchedulerException
- Throws:
SchedulerException
getScheduledJobs
@MessagingProxy(mode=SYNC)
List<SchedulerResponse> getScheduledJobs()
throws SchedulerException
- Throws:
SchedulerException
getScheduledJobs
@MessagingProxy(mode=SYNC)
List<SchedulerResponse> getScheduledJobs(String groupName)
throws SchedulerException
- Throws:
SchedulerException
pause
void pause(String groupName)
throws SchedulerException
- Throws:
SchedulerException
pause
void pause(String jobName,
String groupName)
throws SchedulerException
- Throws:
SchedulerException
resume
void resume(String groupName)
throws SchedulerException
- Throws:
SchedulerException
resume
void resume(String jobName,
String groupName)
throws SchedulerException
- Throws:
SchedulerException
schedule
void schedule(Trigger trigger,
String description,
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(String jobName,
String groupName)
throws SchedulerException
- Throws:
SchedulerException
unschedule
@MessagingProxy(mode=SYNC)
void unschedule(String groupName)
throws SchedulerException
- Throws:
SchedulerException
unschedule
@MessagingProxy(mode=SYNC)
void unschedule(String jobName,
String groupName)
throws SchedulerException
- Throws:
SchedulerException
update
void update(Trigger trigger)
throws SchedulerException
- Throws:
SchedulerException