com.evolveum.midpoint.task.impl
Class TaskScanner

java.lang.Object
  extended by java.lang.Thread
      extended by com.evolveum.midpoint.task.impl.TaskScanner
All Implemented Interfaces:
java.lang.Runnable

public class TaskScanner
extends java.lang.Thread

Author:
Radovan Semancik

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TaskScanner()
           
 
Method Summary
 void disable()
           
 void enable()
           
 RepositoryService getRepositoryService()
           
 TaskManagerImpl getTaskManagerImpl()
           
 void run()
           
 void scan()
          Make the scanner scan tasks now, if possible.
 void setRepositoryService(RepositoryService repositoryService)
           
 void setTaskManagerImpl(TaskManagerImpl taskManagerImpl)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskScanner

public TaskScanner()
Method Detail

getRepositoryService

public RepositoryService getRepositoryService()
Returns:
the repositoryService

setRepositoryService

public void setRepositoryService(RepositoryService repositoryService)
Parameters:
repositoryService - the repositoryService to set

getTaskManagerImpl

public TaskManagerImpl getTaskManagerImpl()
Returns:
the taskManagerImpl

setTaskManagerImpl

public void setTaskManagerImpl(TaskManagerImpl taskManagerImpl)
Parameters:
taskManagerImpl - the taskManagerImpl to set

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

scan

public void scan()
Make the scanner scan tasks now, if possible.


disable

public void disable()

enable

public void enable()


Copyright © 2011 evolveum. All Rights Reserved.