Class UserInfoRefreshJob

  • All Implemented Interfaces:
    pro.taskana.common.internal.jobs.TaskanaJob

    public class UserInfoRefreshJob
    extends pro.taskana.common.internal.jobs.AbstractTaskanaJob
    Job to refresh all user info after a period of time.
    • Constructor Detail

      • UserInfoRefreshJob

        public UserInfoRefreshJob​(pro.taskana.common.api.TaskanaEngine taskanaEngine)
      • UserInfoRefreshJob

        public UserInfoRefreshJob​(pro.taskana.common.api.TaskanaEngine taskanaEngine,
                                  TaskanaTransactionProvider txProvider,
                                  pro.taskana.common.api.ScheduledJob scheduledJob)
    • Method Detail

      • initializeSchedule

        public static void initializeSchedule​(pro.taskana.common.api.TaskanaEngine taskanaEngine)
        Initializes the UserInfoRefreshJob schedule.
        All scheduled jobs are cancelled/deleted and a new one is scheduled.
        Parameters:
        taskanaEngine - the TASKANA engine.
      • getType

        protected String getType()
        Specified by:
        getType in class pro.taskana.common.internal.jobs.AbstractTaskanaJob
      • execute

        protected void execute()
        Specified by:
        execute in class pro.taskana.common.internal.jobs.AbstractTaskanaJob