@Test public void testSetWaitInterval() { WaitService srv = new WaitService(); assertNull(srv.getWaitInterval()); assertEquals(20000, srv.waitMs()); TimeInterval newInterval = new TimeInterval(10L, TimeUnit.SECONDS); srv.setWaitInterval(newInterval); assertEquals(newInterval, srv.getWaitInterval()); assertEquals(10000, srv.waitMs()); srv.setWaitInterval(null); assertNull(srv.getWaitInterval()); assertEquals(20000, srv.waitMs()); }
public void setWaitInterval(TimeInterval interval) { this.waitInterval = interval; }
WaitService extends ServiceImp { public void setWaitInterval(TimeInterval interval) { this.waitInterval = interval; } }
WaitService extends ServiceImp { public void setWaitInterval(TimeInterval interval) { this.waitInterval = interval; } WaitService();  WaitService(TimeInterval wait);  WaitService(TimeInterval wait, Boolean randomize);  WaitService(String uniqueId); }
WaitService extends ServiceImp { public void setWaitInterval(TimeInterval interval) { this.waitInterval = interval; } WaitService();  WaitService(TimeInterval wait);  WaitService(TimeInterval wait, Boolean randomize);  WaitService(String uniqueId); @Override void doService(AdaptrisMessage msg); TimeInterval getWaitInterval(); void setWaitInterval(TimeInterval interval); @Override void prepare(); Boolean getRandomize(); void setRandomize(Boolean b); Boolean getExceptionOnInterrupt(); void setExceptionOnInterrupt(Boolean b); }
WaitService extends ServiceImp { public void setWaitInterval(TimeInterval interval) { this.waitInterval = interval; } WaitService();  WaitService(TimeInterval wait);  WaitService(TimeInterval wait, Boolean randomize);  WaitService(String uniqueId); @Override void doService(AdaptrisMessage msg); TimeInterval getWaitInterval(); void setWaitInterval(TimeInterval interval); @Override void prepare(); Boolean getRandomize(); void setRandomize(Boolean b); Boolean getExceptionOnInterrupt(); void setExceptionOnInterrupt(Boolean b);  }