View Javadoc
1   /*
2    * 
3    * $Revision: 1.2 $
4    * $Date: 2004/06/20 12:18:39 $
5    *
6    * ====================================================================
7    * struts-it
8    * Copyright (C) 2004 - strutsit community
9    * 
10   * Licensed under the Apache License, Version 2.0 (the "License");
11   * you may not use this file except in compliance with the License.
12   * You may obtain a copy of the License at
13   * 
14   *      http://www.apache.org/licenses/LICENSE-2.0
15   * 
16   * Unless required by applicable law or agreed to in writing, software
17   * distributed under the License is distributed on an "AS IS" BASIS,
18   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19   * See the License for the specific language governing permissions and
20   * limitations under the License.
21   *
22   * created: 2004-06-05  Manfred Wolff
23   */
24  package org.strutsit.chain.configuration;
25  
26  import org.apache.commons.chain.Command;
27  import org.apache.commons.chain.impl.ChainBase;
28  
29  /***
30   * Extension of a ChainBase-Implementation. Additional are some Attributes.
31   * 
32   * @author <a href="mailto:wolff@struts-it.de">Manfred Wolff </a>
33   * @since JDK 1.4
34   * @version $Revision: 1.2 $
35   */
36  public class ChainConfBase extends ChainBase {
37  
38      /// Attribute for checking dependencies
39      private String checkDependencies;
40  
41      /***
42       * Returns the checkDependencies.
43       * 
44       * @return Returns the checkDependencies.
45       */
46      public String getCheckDependencies() {
47          return checkDependencies;
48      }
49  
50      /***
51       * Sets the checkDependencies Attribute.
52       * 
53       * @param checkDependencies
54       *            The checkDependencies to set.
55       */
56      public void setCheckDependencies(String checkDependencies) {
57          this.checkDependencies = checkDependencies;
58      }
59  
60      /***
61       * 
62       * @return All Commands of this chain
63       */
64      public Command[] getAllCommands() {
65          return this.commands;
66      }
67  }