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 assign jobstore properties for use in the Quartz scheduler.
    22   *
    23   * @author <a href="mailto:john@zenplex.com">John Thorhauer</a>
    24   * @version $Id: JobStoreConfig.java 264191 2005-08-29 18:07:52Z henning $
    25   */
    26  public class JobStoreConfig
    27  {
    28      /*** The loggername used by the Quartz jobstore */
    29      private String loggerName;
    30
    31      /*** The classname used by the Quartz jobstore */
    32      private String className;
    33
    34      /***
    35       * Default contructor
    36       */
    37      public JobStoreConfig()
    38      {
    39      }
    40
    41      /***
    42       * This is the reference name of the logger that has been registered with Quartz that will be used by the Quartz jobstore.
    43       *
    44       * @param s logger name
    45       */
    46      public void setLoggerName(String s)
    47      {
    48          this.loggerName = s;
    49      }
    50
    51      /***
    52       * DOCUMENT ME!
    53       *
    54       * @return the name of the logger for the jobstore
    55       */
    56      public String getLoggerName()
    57      {
    58          return this.loggerName;
    59      }
    60
    61      /***
    62       * This is the full package/class name of the class used for the Quartz jobstore.
    63       *
    64       * @param s the full package/class name used for the jobstore
    65       */
    66      public void setClassName(String s)
    67      {
    68          this.className = s;
    69      }
    70
    71      /***
    72       * DOCUMENT ME!
    73       *
    74       * @return the full package/class name used for the jobstore
    75       */
    76      public String getClassName()
    77      {
    78          return this.className;
    79      }
    80  }