@Test public void testDeserialization() throws Exception { final TimerEvent timerEvent = readObjectFromResource("/notification/timerEvent.json", TimerEvent.class); assertThat(timerEvent.getCronExpression(), is("0 * * * * *")); }
public String getCronExpression() { return cronExpression; }
TimerEvent implements Trigger { public String getCronExpression() { return cronExpression; } }
TimerEvent implements Trigger { public String getCronExpression() { return cronExpression; } @JsonCreator  TimerEvent(@JsonProperty("cronExpression") final String cronExpression); }
TimerEvent implements Trigger { public String getCronExpression() { return cronExpression; } @JsonCreator  TimerEvent(@JsonProperty("cronExpression") final String cronExpression); String getCronExpression(); @Override String toString(); }
TimerEvent implements Trigger { public String getCronExpression() { return cronExpression; } @JsonCreator  TimerEvent(@JsonProperty("cronExpression") final String cronExpression); String getCronExpression(); @Override String toString();  }