View Javadoc

    1   package org.apache.stratum.scheduler;
    2
    3   /*
    4    * Copyright 2001-2005 The Apache Software Foundation or its licensors,
    5    * as applicable.
    6    *
    7    * Licensed under the Apache License, Version 2.0 (the "License");
    8    * you may not use this file except in compliance with the License.
    9    * You may obtain a copy of the License at
    10   *
    11   *     http://www.apache.org/licenses/LICENSE-2.0
    12   *
    13   * Unless required by applicable law or agreed to in writing, software
    14   * distributed under the License is distributed on an "AS IS" BASIS,
    15   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16   * See the License for the specific language governing permissions and
    17   * limitations under the License.
    18   */
    19
    20  /***
    21   * This bean represents the settings used to create a JobDetail object for use in the Quartz scheduler.
    22   *
    23   * @author <a href="mailto:john@zenplex.com">John Thorhauer</a>
    24   * @version $Id: JobConfig.java 264191 2005-08-29 18:07:52Z henning $
    25   */
    26  public class JobConfig
    27  {
    28      /*** The name that the Job will use. */
    29      private String name;
    30
    31      /*** The group the job will be associated with */
    32      private String group;
    33
    34      /**</package-summary/html">The full package/class name for the Job that will run *//package-summary.html">em>* The full package/class name for the Job that will run */
    35      private String className;
    36
    37      /***
    38       * Default contructor
    39       */
    40      public JobConfig()
    41      {
    42      }
    43
    44      /***
    45       * This is the name by which the job will be identified in Quartz
    46       *
    47       * @param s name of the Job
    48       */
    49      public void setName(String s)
    50      {
    51          this.name = s;
    52      }
    53
    54      /***
    55       * The name of the job
    56       *
    57       * @return name of the Job
    58       */
    59      public String getName()
    60      {
    61          return this.name;
    62      }
    63
    64      /***
    65       * This is the group with which the job will be associated in Quartz.
    66       *
    67       * @param s name of the Group
    68       */
    69      public void setGroup(String s)
    70      {
    71          this.group = s;
    72      }
    73
    74      /***
    75       * The group name that this job will be associated with
    76       *
    77       * @return the group name
    78       */
    79      public String getGroup()
    80      {
    81          return this.group;
    82      }
    83
    84      /***
    85       * This is the full package/class name of the job that Quartz will run
    86       *
    87       * @param s class name
    88       */
    89      public void setClassName(String s)
    90      {
    91          this.className = s;
    92      }
    93
    94      /***
    95       * DOCUMENT ME!
    96       *
    97       * @return the full package/class name
    98       */
    99      public String getClassName()
    100     {
    101         return this.className;
    102     }
    103 }