KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jivesoftware > messenger > container > PluginDevEnvironment


1 /**
2  * $RCSfile: PluginDevEnvironment.java,v $
3  * $Revision: 1.2 $
4  * $Date: 2005/06/05 21:36:19 $
5  *
6  * Copyright (C) 2004 Jive Software. All rights reserved.
7  *
8  * This software is published under the terms of the GNU Public License (GPL),
9  * a copy of which is included in this distribution.
10  */

11
12 package org.jivesoftware.messenger.container;
13
14 import java.io.File JavaDoc;
15
16 /**
17  * Represents the data model used to represent development mode within the Jive
18  * Messenger plugin framework.
19  *
20  * @author Derek DeMoro
21  */

22 public class PluginDevEnvironment {
23     private File JavaDoc webRoot;
24     private File JavaDoc classesDir;
25
26     /**
27      * Returns the document root of a plugins web development
28      * application.
29      *
30      * @return the document root of a plugin.
31      */

32     public File JavaDoc getWebRoot() {
33         return webRoot;
34     }
35
36     /**
37      * Set the document root of a plugin.
38      * @param webRoot the document root of a plugin.
39      */

40     public void setWebRoot(File JavaDoc webRoot) {
41         this.webRoot = webRoot;
42     }
43
44     /**
45      * Returns the classes directory of a plugin in development mode.
46      * @return the classes directory of a plugin in development mode.
47      */

48     public File JavaDoc getClassesDir() {
49         return classesDir;
50     }
51
52     /**
53      * Sets the classes directory of a plugin used in development mode.
54      * @param classesDir the classes directory.
55      */

56     public void setClassesDir(File JavaDoc classesDir) {
57         this.classesDir = classesDir;
58     }
59 }
60
Popular Tags