Debian Codegraph @

src/main/java/net/sf/antcontrib/logic/condition/BooleanConditionBase.java

raw symbols SCIP
1 /*
2 * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package net.sf.antcontrib.logic.condition;
17
18 import org.apache.tools.ant.taskdefs.condition.ConditionBase;
19
20 /**
21 * Extends ConditionBase so I can get access to the condition count and the
22 * first condition. This is the class that the BooleanConditionTask is proxy
23 * for.
24 * <p>Developed for use with Antelope, migrated to ant-contrib Oct 2003.
25 *
26 * @author Dale Anson, [email protected]
27 */
28 public class BooleanConditionBase extends ConditionBase {
29 /**
30 * Adds a feature to the IsPropertyTrue attribute of the BooleanConditionBase
31 * object
32 *
33 * @param i The feature to be added to the IsPropertyTrue attribute
34 */
35 public void addIsPropertyTrue( IsPropertyTrue i ) {
36 super.add( i );
37 }
38
39 /**
40 * Adds a feature to the IsPropertyFalse attribute of the
41 * BooleanConditionBase object
42 *
43 * @param i The feature to be added to the IsPropertyFalse attribute
44 */
45 public void addIsPropertyFalse( IsPropertyFalse i ) {
46 super.add( i );
47 }
48
49 public void addIsGreaterThan( IsGreaterThan i) {
50 super.add(i);
51 }
52
53 public void addIsLessThan( IsLessThan i) {
54 super.add(i);
55 }
56 }
57