@Test public void getJobIdentifierReturnsExpectedIdentifier() { var expectedIdentifier = "PROJECT-UPDATER"; var actualIdentifier = projectUpdater.getJobIdentifier(); assertThat(actualIdentifier).isEqualTo(expectedIdentifier); }
@Override public String getJobIdentifier() { return "PROJECT-UPDATER"; }
ProjectUpdater implements ScheduledJob { @Override public String getJobIdentifier() { return "PROJECT-UPDATER"; } }
ProjectUpdater implements ScheduledJob { @Override public String getJobIdentifier() { return "PROJECT-UPDATER"; } @Autowired(required = false)  ProjectUpdater(ProjectService projectService,
                          ProjectReader projectReader,
                          ProjectBoardConfigurationProperties properties,
                          @Lazy List<Normalizer<Project>> normalizers,
                          Clock clock); @Autowired(required = false)  ProjectUpdater(ProjectService projectService,
                          ProjectReader projectReader,
                          ProjectBoardConfigurationProperties properties,
                          Clock clock); }
ProjectUpdater implements ScheduledJob { @Override public String getJobIdentifier() { return "PROJECT-UPDATER"; } @Autowired(required = false)  ProjectUpdater(ProjectService projectService,
                          ProjectReader projectReader,
                          ProjectBoardConfigurationProperties properties,
                          @Lazy List<Normalizer<Project>> normalizers,
                          Clock clock); @Autowired(required = false)  ProjectUpdater(ProjectService projectService,
                          ProjectReader projectReader,
                          ProjectBoardConfigurationProperties properties,
                          Clock clock); @Override void execute(LocalDateTime lastExecuteTime); @Override void execute(); @Override String getJobIdentifier(); @Override boolean shouldExecute(LocalDateTime lastExecuteTime); }
ProjectUpdater implements ScheduledJob { @Override public String getJobIdentifier() { return "PROJECT-UPDATER"; } @Autowired(required = false)  ProjectUpdater(ProjectService projectService,
                          ProjectReader projectReader,
                          ProjectBoardConfigurationProperties properties,
                          @Lazy List<Normalizer<Project>> normalizers,
                          Clock clock); @Autowired(required = false)  ProjectUpdater(ProjectService projectService,
                          ProjectReader projectReader,
                          ProjectBoardConfigurationProperties properties,
                          Clock clock); @Override void execute(LocalDateTime lastExecuteTime); @Override void execute(); @Override String getJobIdentifier(); @Override boolean shouldExecute(LocalDateTime lastExecuteTime);  }