1 package org.codehaus.redback.integration.checks.xwork;
4 * Copyright 2005-2006 The Codehaus.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 import java.util.ArrayList;
21 import java.util.List;
26 * @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a>
29 public class XworkPackageConfig
33 public List<XworkActionConfig> actions = new ArrayList<XworkActionConfig>();
35 public XworkPackageConfig( String name )
40 public XworkActionConfig addAction( String name, String className, String method )
42 XworkActionConfig config = new XworkActionConfig( name, className, method );
43 actions.add( config );