Class JobPlugin


  • public class JobPlugin
    extends java.lang.Object
    This class represents a job plugin registered with the JobScheduler. A Job plugin can be instantiated into a Job instance and scheduled by the JobScheduler to run at a scheduled interval

    Version:
    $Revision$, $Date$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String mClassPath
      The Java class name of this job plugin.
      protected java.lang.String mId
      The plugin name of this job
    • Constructor Summary

      Constructors 
      Constructor Description
      JobPlugin​(java.lang.String id, java.lang.String classPath)
      Constructor for a Job plugin.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getClassPath()
      get the Java class name
      java.lang.String getId()
      get the job plugin name
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • mId

        protected java.lang.String mId
        The plugin name of this job
      • mClassPath

        protected java.lang.String mClassPath
        The Java class name of this job plugin. e.g. com.netscape.cms.RenewalNotificationJob
    • Constructor Detail

      • JobPlugin

        public JobPlugin​(java.lang.String id,
                         java.lang.String classPath)
        Constructor for a Job plugin.
        Parameters:
        id - job plugin name
        classPath - the Java class name of this job plugin
    • Method Detail

      • getId

        public java.lang.String getId()
        get the job plugin name
        Returns:
        the name of this job plugin
      • getClassPath

        public java.lang.String getClassPath()
        get the Java class name
        Returns:
        the Java class name of this plugin