@Test( expectedExceptions = IllegalArgumentException.class, expectedExceptionsMessageRegExp = ".*timezone can't be null.*" ) public void testSetTimezoneObject() { new Schedule(process, EXECUTABLE, "0 0 * * *").setTimezone((ZonedDateTime) null); }
public void setTimezone(final String timezone) { this.timezone = timezone; }
Schedule { public void setTimezone(final String timezone) { this.timezone = timezone; } }
Schedule { public void setTimezone(final String timezone) { this.timezone = timezone; } Schedule(final DataloadProcess process, final String executable, final String cron);  Schedule(final DataloadProcess process, final String executable, final Schedule triggerSchedule); private  Schedule(final DataloadProcess process, final String executable); @JsonCreator private  Schedule(@JsonProperty("type") final String type,
                     @JsonProperty("state") final String state,
                     @JsonProperty("cron") final String cron,
                     @JsonProperty("timezone") final String timezone,
                     @JsonProperty("nextExecutionTime") @JsonDeserialize(using = ISOZonedDateTimeDeserializer.class) ZonedDateTime nextExecutionTime,
                     @JsonProperty("consecutiveFailedExecutionCount") final int consecutiveFailedExecutionCount,
                     @JsonProperty("params") final Map<String, String> params,
                     @JsonProperty("reschedule") final Integer reschedule,
                     @JsonProperty("triggerScheduleId") final String triggerScheduleId,
                     @JsonProperty("name") final String name,
                     @JsonProperty("links") final Map<String, String> links); }
Schedule { public void setTimezone(final String timezone) { this.timezone = timezone; } Schedule(final DataloadProcess process, final String executable, final String cron);  Schedule(final DataloadProcess process, final String executable, final Schedule triggerSchedule); private  Schedule(final DataloadProcess process, final String executable); @JsonCreator private  Schedule(@JsonProperty("type") final String type,
                     @JsonProperty("state") final String state,
                     @JsonProperty("cron") final String cron,
                     @JsonProperty("timezone") final String timezone,
                     @JsonProperty("nextExecutionTime") @JsonDeserialize(using = ISOZonedDateTimeDeserializer.class) ZonedDateTime nextExecutionTime,
                     @JsonProperty("consecutiveFailedExecutionCount") final int consecutiveFailedExecutionCount,
                     @JsonProperty("params") final Map<String, String> params,
                     @JsonProperty("reschedule") final Integer reschedule,
                     @JsonProperty("triggerScheduleId") final String triggerScheduleId,
                     @JsonProperty("name") final String name,
                     @JsonProperty("links") final Map<String, String> links); String getType(); String getState(); void setState(final String state); @JsonIgnore void setState(final ScheduleState state); @JsonIgnore boolean isEnabled(); @JsonIgnore String getProcessId(); void setProcessId(final DataloadProcess process); @JsonIgnore String getExecutable(); void setExecutable(final DataloadProcess process, final String executable); Map<String, String> getParams(); void addParam(String key, String value); void removeParam(String paramKey); String getCron(); void setCron(final String cron); String getTimezone(); void setTimezone(final String timezone); @JsonProperty("reschedule") Integer getRescheduleInMinutes(); @JsonIgnore Duration getReschedule(); void setReschedule(Duration reschedule); String getTriggerScheduleId(); void setTriggerScheduleId(final String triggerScheduleId); String getName(); void setName(final String name); @JsonIgnore void setTimezone(final ZonedDateTime timezone); @JsonIgnore ZonedDateTime getNextExecutionTime(); @JsonIgnore int getConsecutiveFailedExecutionCount(); @JsonIgnore String getUri(); @JsonIgnore String getId(); @JsonIgnore String getExecutionsUri(); @Override String toString(); }
Schedule { public void setTimezone(final String timezone) { this.timezone = timezone; } Schedule(final DataloadProcess process, final String executable, final String cron);  Schedule(final DataloadProcess process, final String executable, final Schedule triggerSchedule); private  Schedule(final DataloadProcess process, final String executable); @JsonCreator private  Schedule(@JsonProperty("type") final String type,
                     @JsonProperty("state") final String state,
                     @JsonProperty("cron") final String cron,
                     @JsonProperty("timezone") final String timezone,
                     @JsonProperty("nextExecutionTime") @JsonDeserialize(using = ISOZonedDateTimeDeserializer.class) ZonedDateTime nextExecutionTime,
                     @JsonProperty("consecutiveFailedExecutionCount") final int consecutiveFailedExecutionCount,
                     @JsonProperty("params") final Map<String, String> params,
                     @JsonProperty("reschedule") final Integer reschedule,
                     @JsonProperty("triggerScheduleId") final String triggerScheduleId,
                     @JsonProperty("name") final String name,
                     @JsonProperty("links") final Map<String, String> links); String getType(); String getState(); void setState(final String state); @JsonIgnore void setState(final ScheduleState state); @JsonIgnore boolean isEnabled(); @JsonIgnore String getProcessId(); void setProcessId(final DataloadProcess process); @JsonIgnore String getExecutable(); void setExecutable(final DataloadProcess process, final String executable); Map<String, String> getParams(); void addParam(String key, String value); void removeParam(String paramKey); String getCron(); void setCron(final String cron); String getTimezone(); void setTimezone(final String timezone); @JsonProperty("reschedule") Integer getRescheduleInMinutes(); @JsonIgnore Duration getReschedule(); void setReschedule(Duration reschedule); String getTriggerScheduleId(); void setTriggerScheduleId(final String triggerScheduleId); String getName(); void setName(final String name); @JsonIgnore void setTimezone(final ZonedDateTime timezone); @JsonIgnore ZonedDateTime getNextExecutionTime(); @JsonIgnore int getConsecutiveFailedExecutionCount(); @JsonIgnore String getUri(); @JsonIgnore String getId(); @JsonIgnore String getExecutionsUri(); @Override String toString(); static final String URI; }