@Test public void assertGetDataMap() { assertThat(taskResultStatisticJob.getDataMap().get("statisticInterval"), is(statisticInterval)); assertThat(taskResultStatisticJob.getDataMap().get("sharedData"), is(sharedData)); assertThat(taskResultStatisticJob.getDataMap().get("repository"), is(repository)); }
@Override public Map<String, Object> getDataMap() { Map<String, Object> result = new HashMap<>(3); result.put("statisticInterval", statisticInterval); result.put("sharedData", sharedData); result.put("repository", repository); return result; }
TaskResultStatisticJob extends AbstractStatisticJob { @Override public Map<String, Object> getDataMap() { Map<String, Object> result = new HashMap<>(3); result.put("statisticInterval", statisticInterval); result.put("sharedData", sharedData); result.put("repository", repository); return result; } }
TaskResultStatisticJob extends AbstractStatisticJob { @Override public Map<String, Object> getDataMap() { Map<String, Object> result = new HashMap<>(3); result.put("statisticInterval", statisticInterval); result.put("sharedData", sharedData); result.put("repository", repository); return result; }  }
TaskResultStatisticJob extends AbstractStatisticJob { @Override public Map<String, Object> getDataMap() { Map<String, Object> result = new HashMap<>(3); result.put("statisticInterval", statisticInterval); result.put("sharedData", sharedData); result.put("repository", repository); return result; }  @Override JobDetail buildJobDetail(); @Override Trigger buildTrigger(); @Override Map<String, Object> getDataMap(); @Override void execute(final JobExecutionContext context); }
TaskResultStatisticJob extends AbstractStatisticJob { @Override public Map<String, Object> getDataMap() { Map<String, Object> result = new HashMap<>(3); result.put("statisticInterval", statisticInterval); result.put("sharedData", sharedData); result.put("repository", repository); return result; }  @Override JobDetail buildJobDetail(); @Override Trigger buildTrigger(); @Override Map<String, Object> getDataMap(); @Override void execute(final JobExecutionContext context);  }