@Test public void defaultProperties() { TaskProperties expected = new TaskProperties(); expected.setRepeat(false); TaskProperties actual = SimpleSchedulerImpl.getDefaultTaskProperties(); Assert.assertEquals(expected, actual); }
public static final TaskProperties getDefaultTaskProperties() { TaskProperties properties = new TaskProperties(); properties.setRepeat(false); return properties; }
SimpleSchedulerImpl implements Scheduler { public static final TaskProperties getDefaultTaskProperties() { TaskProperties properties = new TaskProperties(); properties.setRepeat(false); return properties; } }
SimpleSchedulerImpl implements Scheduler { public static final TaskProperties getDefaultTaskProperties() { TaskProperties properties = new TaskProperties(); properties.setRepeat(false); return properties; } SimpleSchedulerImpl(); }
SimpleSchedulerImpl implements Scheduler { public static final TaskProperties getDefaultTaskProperties() { TaskProperties properties = new TaskProperties(); properties.setRepeat(false); return properties; } SimpleSchedulerImpl(); @Override void addTask(Task task); @Override void addTask(Task task, TaskProperties properties); NetworkManager getNetworkManager(); void setNetworkManager(NetworkManager networkManager); void executeNextTask(); void processRepeatTasks(); static final TaskProperties getDefaultTaskProperties(); TaskTimeProcessor getTimeProcessor(); void setTimeProcessor(TaskTimeProcessor timeProcessor); }
SimpleSchedulerImpl implements Scheduler { public static final TaskProperties getDefaultTaskProperties() { TaskProperties properties = new TaskProperties(); properties.setRepeat(false); return properties; } SimpleSchedulerImpl(); @Override void addTask(Task task); @Override void addTask(Task task, TaskProperties properties); NetworkManager getNetworkManager(); void setNetworkManager(NetworkManager networkManager); void executeNextTask(); void processRepeatTasks(); static final TaskProperties getDefaultTaskProperties(); TaskTimeProcessor getTimeProcessor(); void setTimeProcessor(TaskTimeProcessor timeProcessor);  }