Uses of Class
io.dapr.client.domain.JobSchedule
Packages that use JobSchedule
-
Uses of JobSchedule in io.dapr.client.domain
Methods in io.dapr.client.domain that return JobScheduleModifier and TypeMethodDescriptionstatic JobScheduleJobSchedule.daily()Creates a daily job schedule, running at midnight every day.static JobScheduleJobSchedule.fromPeriod(Duration duration) Creates a job schedule from a fixed period using aDuration.static JobScheduleJobSchedule.fromString(String cronExpression) Creates a job schedule from a custom cron expression.GetJobResponse.getSchedule()Gets the schedule of the job.ScheduleJobRequest.getSchedule()Gets the schedule of the job.static JobScheduleJobSchedule.hourly()Creates an hourly job schedule, running at the start of every hour.static JobScheduleJobSchedule.monthly()Creates a monthly job schedule, running at midnight on the first day of each month.static JobScheduleJobSchedule.weekly()Creates a weekly job schedule, running at midnight on Sunday.static JobScheduleJobSchedule.yearly()Creates a yearly job schedule, running at midnight on January 1st.Methods in io.dapr.client.domain with parameters of type JobScheduleModifier and TypeMethodDescriptionGetJobResponse.setSchedule(JobSchedule schedule) Sets the schedule for the job.ScheduleJobRequest.setSchedule(JobSchedule schedule) Sets the schedule for the job.Constructors in io.dapr.client.domain with parameters of type JobScheduleModifierConstructorDescriptionGetJobResponse(String name, JobSchedule schedule) Constructor to create GetJobResponse.ScheduleJobRequest(String name, JobSchedule schedule) Constructor to create ScheduleJobRequest.