Package org.qzerver.model.service.job.management.dto

Examples of org.qzerver.model.service.job.management.dto.ScheduleJobRescheduleParameters


        jobParameters.setActionDefinition("action.data".getBytes());

        ScheduleJob scheduleJob = scheduleJobManagementService.createJob(jobParameters);
        Assert.assertNotNull(scheduleJob);

        ScheduleJobRescheduleParameters rescheduleParameters = new ScheduleJobRescheduleParameters();
        rescheduleParameters.setCron(cron2);
        rescheduleParameters.setTimezone(DEFAULT_TIMEZONE);

        ScheduleJob scheduleJobModified;

        scheduleJobModified = scheduleJobManagementService.rescheduleJob(scheduleJob.getId(), rescheduleParameters);
        Assert.assertNotNull(scheduleJobModified);
View Full Code Here


        scheduleJobModified = scheduleJobManagementService.disableJob(scheduleJob.getId());
        Assert.assertNotNull(scheduleJobModified);
        Assert.assertFalse(scheduleJobModified.isEnabled());

        ScheduleJobRescheduleParameters rescheduleParameters = new ScheduleJobRescheduleParameters();
        rescheduleParameters.setCron(cron2);
        rescheduleParameters.setTimezone(DEFAULT_TIMEZONE);

        scheduleJobModified = scheduleJobManagementService.rescheduleJob(scheduleJob.getId(), rescheduleParameters);
        Assert.assertNotNull(scheduleJobModified);
        Assert.assertFalse(scheduleJobModified.isEnabled());
View Full Code Here

TOP

Related Classes of org.qzerver.model.service.job.management.dto.ScheduleJobRescheduleParameters

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.