KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > ant > jonasbase > BaseTaskItf


1 /**
2  * JOnAS: Java(TM) Open Application Server
3  * Copyright (C) 2004 Bull S.A.
4  * Contact: jonas-team@objectweb.org
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19  * USA
20  *
21  * Initial developer: Florent BENOIT
22  * --------------------------------------------------------------------------
23  * $Id: BaseTaskItf.java,v 1.1 2004/06/11 09:27:47 benoitf Exp $
24  * --------------------------------------------------------------------------
25  */

26
27 package org.objectweb.jonas.ant.jonasbase;
28
29 import java.io.File JavaDoc;
30
31 /**
32  * @author Florent Benoit
33  */

34 public interface BaseTaskItf {
35
36     /**
37      * Sets the configuration file
38      * @param configurationFile The configurationFile to set.
39      */

40     void setConfigurationFile(String JavaDoc configurationFile);
41
42     /**
43      * @param destDir The destDir to set.
44      */

45     void setDestDir(File JavaDoc destDir);
46
47     /**
48      * @param jonasRoot The jonasRoot directory
49      */

50     void setJonasRoot(File JavaDoc jonasRoot);
51
52     /**
53      * Execute the task
54      */

55     void execute();
56
57     /**
58      * Gets logger info (to be displayed)
59      * @return logger info
60      * @see org.objectweb.jonas.ant.jonasbase.BaseTaskItf#getLogInfo()
61      */

62     String JavaDoc getLogInfo();
63
64     /**
65      * Set the info to be displayed by the logger
66      * @param logInfo information to be displayed
67      * @see org.objectweb.jonas.ant.jonasbase.BaseTaskItf#setLogInfo(java.lang.String)
68      */

69     void setLogInfo(String JavaDoc logInfo);
70 }
Popular Tags