1 4 package org.oddjob.scheduling; 5 6 import org.oddjob.schedules.Schedule; 7 8 57 public class OJScheduleInstruction extends ScheduleInstruction { 58 private static final long serialVersionUID = 20051119; 59 60 66 private Schedule normalSchedule; 67 68 76 private Schedule retrySchedule; 77 78 88 private String timeZone; 89 90 95 public void setSchedule(Schedule schedule) { 96 this.normalSchedule = schedule; 97 } 98 99 104 public Schedule getSchedule() { 105 return this.normalSchedule; 106 } 107 108 113 public void setRetry(Schedule retry) { 114 this.retrySchedule = retry; 115 } 116 117 122 public Schedule getRetry() { 123 return retrySchedule; 124 } 125 126 127 132 public String getTimeZone() { 133 return timeZone; 134 } 135 136 141 public void setTimeZone(String timeZoneId) { 142 this.timeZone = timeZoneId; 143 } 144 145 } 146 | Popular Tags |