eu.scape_project.watch.scheduling
Class AdaptorJob

java.lang.Object
  extended by eu.scape_project.watch.scheduling.AdaptorJob
All Implemented Interfaces:
AdaptorJobInterface, org.quartz.Job
Direct Known Subclasses:
SimpleAdaptorJob

public abstract class AdaptorJob
extends Object
implements AdaptorJobInterface


Constructor Summary
AdaptorJob()
           
 
Method Summary
 boolean equals(Object object)
           
 void execute(org.quartz.JobExecutionContext jec)
           
 String getAdaptorClassName()
          Getting the adaptor class name
 String getAdaptorVersion()
          Getting the Adaptor version of installed adaptor plugin
protected  Properties getProperties()
           
protected abstract  void initialize()
           
 void initialize(Properties properties)
          Initialize AdaptorJob with Properties
 void setAdaptorClassName(String className)
          Setting the adaptor that a specific job should use.
 void setAdaptorProperties(String properties)
          Setting adaptor properties
 void setAdaptorVersion(String version)
          Setting the version of the adaptor.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.scape_project.watch.interfaces.AdaptorJobInterface
getJobDetail, getTrigger
 

Constructor Detail

AdaptorJob

public AdaptorJob()
Method Detail

execute

public void execute(org.quartz.JobExecutionContext jec)
             throws org.quartz.JobExecutionException
Specified by:
execute in interface org.quartz.Job
Throws:
org.quartz.JobExecutionException

setAdaptorClassName

public void setAdaptorClassName(String className)
Description copied from interface: AdaptorJobInterface
Setting the adaptor that a specific job should use.

Specified by:
setAdaptorClassName in interface AdaptorJobInterface
Parameters:
className - - class name of the adaptor

getAdaptorClassName

public String getAdaptorClassName()
Description copied from interface: AdaptorJobInterface
Getting the adaptor class name

Specified by:
getAdaptorClassName in interface AdaptorJobInterface
Returns:

setAdaptorVersion

public void setAdaptorVersion(String version)
Description copied from interface: AdaptorJobInterface
Setting the version of the adaptor.

Specified by:
setAdaptorVersion in interface AdaptorJobInterface
Parameters:
version - - version of the adaptor

getAdaptorVersion

public String getAdaptorVersion()
Description copied from interface: AdaptorJobInterface
Getting the Adaptor version of installed adaptor plugin

Specified by:
getAdaptorVersion in interface AdaptorJobInterface
Returns:

setAdaptorProperties

public void setAdaptorProperties(String properties)
Description copied from interface: AdaptorJobInterface
Setting adaptor properties

Specified by:
setAdaptorProperties in interface AdaptorJobInterface

initialize

public void initialize(Properties properties)
Description copied from interface: AdaptorJobInterface
Initialize AdaptorJob with Properties

Specified by:
initialize in interface AdaptorJobInterface

getProperties

protected Properties getProperties()

initialize

protected abstract void initialize()

equals

public boolean equals(Object object)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.