Debian Codegraph @

src/main/java/net/sf/antcontrib/walls/SilentMove.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.walls;
17
18 import org.apache.tools.ant.Project;
19 import org.apache.tools.ant.taskdefs.Move;
20
21 /*
22 * Created on Aug 25, 2003
23 *
24 * To change the template for this generated file go to
25 * Window>Preferences>Java>Code Generation>Code and Comments
26 */
27 /**
28 * FILL IN JAVADOC HERE
29 *
30 * @author Dean Hiller([email protected])
31 */
32 public class SilentMove extends Move {
33
34 public void log(String msg) {
35 log(msg, Project.MSG_INFO);
36 }
37
38 public void log(String msg, int level) {
39 if(level == Project.MSG_INFO)
40 super.log(msg, Project.MSG_VERBOSE);
41 else if(level == Project.MSG_VERBOSE)
42 super.log(msg, Project.MSG_DEBUG);
43
44 }
45 }