org.apache.maven.archiva.scheduled
Class DatabaseTaskJob

java.lang.Object
  extended by org.codehaus.plexus.scheduler.AbstractJob
      extended by org.apache.maven.archiva.scheduled.DatabaseTaskJob
All Implemented Interfaces:
org.quartz.InterruptableJob, org.quartz.Job

public class DatabaseTaskJob
extends org.codehaus.plexus.scheduler.AbstractJob

This class is the database job that is executed by the scheduler.


Field Summary
 
Fields inherited from class org.codehaus.plexus.scheduler.AbstractJob
CONTEXT, EXECUTION_CONFIGURATION, LOGGER, SERVICE_MANAGER
 
Constructor Summary
DatabaseTaskJob()
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext context)
          Execute the discoverer and the indexer.
 
Methods inherited from class org.codehaus.plexus.scheduler.AbstractJob
getConfiguration, getContext, getJobDataMap, getLogger, interrupt, isInterrupted, setJobDataMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseTaskJob

public DatabaseTaskJob()
Method Detail

execute

public void execute(org.quartz.JobExecutionContext context)
             throws org.quartz.JobExecutionException
Execute the discoverer and the indexer.

Specified by:
execute in interface org.quartz.Job
Specified by:
execute in class org.codehaus.plexus.scheduler.AbstractJob
Parameters:
context -
Throws:
org.quartz.JobExecutionException


Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.