Package | Description |
---|---|
com.sas.hls.schedule |
Service and class definitions for managing schedules.
|
Modifier and Type | Method and Description |
---|---|
Schedule |
ScheduleService.createSchedule(String name,
String description,
Schedulable schedulable,
ScheduleTrigger trigger)
Creates a schedule that will run the job specified in the scheduleable at the specified time(s) defined in the
trigger
|
void |
ScheduleService.deleteSchedule(ScheduleDescriptor schedule)
Deletes the specified schedule
|
Set<ScheduleDescriptor> |
ScheduleService.getAllSchedules()
Get all schedules defined in the system.
|
Schedule |
ScheduleService.getScheduleByDescriptor(ScheduleDescriptor schedule)
Get the full client representation of a schedule from their scheduleDescriptor.
|
Set<ScheduleDescriptor> |
ScheduleService.getSchedulesForCurrentUser()
Get all schedules defined in the system for the current user.
|
boolean |
ScheduleService.isRepositoryJobScheduled(String jobPath)
Determines if any schedules for the specified repository job exist.
|
boolean |
ScheduleService.isWorkspaceJobScheduled(String jobPath)
Determines if any schedules for the specified workspace job exist.
|
void |
ScheduleService.pauseSchedule(ScheduleDescriptor schedule)
Pauses the specified schedule.
|
void |
ScheduleService.resumeSchedule(ScheduleDescriptor schedule)
Resumes the specified schedule
|
boolean |
ScheduleService.scheduleExists(String scheduleName)
Determines if a schedule with the specified name exists.
|
Schedule |
ScheduleService.updateSchedule(Schedule schedule)
Updates the specified schedule
|
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA