@Test public void getJobIdentifierReturnsExpectedIdentifier() { var expectedIdentifier = "APPLICATION-AND-BOOKMARK-CLEANER"; var actualIdentifier = cleaner.getJobIdentifier(); assertThat(actualIdentifier).isEqualTo(expectedIdentifier); }
@Override public String getJobIdentifier() { return "APPLICATION-AND-BOOKMARK-CLEANER"; }
ApplicationsAndBookmarkCleaner extends FixedHourScheduledJob { @Override public String getJobIdentifier() { return "APPLICATION-AND-BOOKMARK-CLEANER"; } }
ApplicationsAndBookmarkCleaner extends FixedHourScheduledJob { @Override public String getJobIdentifier() { return "APPLICATION-AND-BOOKMARK-CLEANER"; } @Autowired  ApplicationsAndBookmarkCleaner(UserService userService,
                                          BookmarkService bookmarkService,
                                          AccessIntervalRepository accessIntervalRepo,
                                          Clock clock); }
ApplicationsAndBookmarkCleaner extends FixedHourScheduledJob { @Override public String getJobIdentifier() { return "APPLICATION-AND-BOOKMARK-CLEANER"; } @Autowired  ApplicationsAndBookmarkCleaner(UserService userService,
                                          BookmarkService bookmarkService,
                                          AccessIntervalRepository accessIntervalRepo,
                                          Clock clock); @Override void execute(LocalDateTime lastExecuteTime); @Override void execute(); @Override String getJobIdentifier(); }
ApplicationsAndBookmarkCleaner extends FixedHourScheduledJob { @Override public String getJobIdentifier() { return "APPLICATION-AND-BOOKMARK-CLEANER"; } @Autowired  ApplicationsAndBookmarkCleaner(UserService userService,
                                          BookmarkService bookmarkService,
                                          AccessIntervalRepository accessIntervalRepo,
                                          Clock clock); @Override void execute(LocalDateTime lastExecuteTime); @Override void execute(); @Override String getJobIdentifier();  }