@Test public void executeUpdatesUsersAndHierarchy() { userUpdateJob.execute(); verify(userUpdaterMock).updateHierarchyAndUserData(); }
@Override public void execute(LocalDateTime lastExecuteTime) { userUpdater.updateHierarchyAndUserData(); log.debug("Successfully updated users and hierarchy!"); }
UserUpdateJob extends FixedHourScheduledJob { @Override public void execute(LocalDateTime lastExecuteTime) { userUpdater.updateHierarchyAndUserData(); log.debug("Successfully updated users and hierarchy!"); } }
UserUpdateJob extends FixedHourScheduledJob { @Override public void execute(LocalDateTime lastExecuteTime) { userUpdater.updateHierarchyAndUserData(); log.debug("Successfully updated users and hierarchy!"); } @Autowired  UserUpdateJob(UserUpdater userUpdater, LdapConfigurationProperties properties, Clock clock); }
UserUpdateJob extends FixedHourScheduledJob { @Override public void execute(LocalDateTime lastExecuteTime) { userUpdater.updateHierarchyAndUserData(); log.debug("Successfully updated users and hierarchy!"); } @Autowired  UserUpdateJob(UserUpdater userUpdater, LdapConfigurationProperties properties, Clock clock); @Override void execute(LocalDateTime lastExecuteTime); @Override void execute(); @Override String getJobIdentifier(); }
UserUpdateJob extends FixedHourScheduledJob { @Override public void execute(LocalDateTime lastExecuteTime) { userUpdater.updateHierarchyAndUserData(); log.debug("Successfully updated users and hierarchy!"); } @Autowired  UserUpdateJob(UserUpdater userUpdater, LdapConfigurationProperties properties, Clock clock); @Override void execute(LocalDateTime lastExecuteTime); @Override void execute(); @Override String getJobIdentifier();  }