1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jetspeed.om.registry;
18
19 /***
20 * Interface for storing tool information for a portlet, control or controller
21 *
22 * @author <a href="mailto:raphael@apache.org">Raphaël Luta</a>
23 * @version $Id: ToolDescriptor.java,v 1.2 2004/02/23 03:11:39 jford Exp $
24 */
25 public interface ToolDescriptor
26 {
27 /*** @return the name of the tool */
28 public String getName();
29
30 /*** Sets the name for this tool
31 * @param title the new name of the tool
32 */
33 public void setName( String name );
34
35 /*** @return the scope of this tool */
36 public String getScope();
37
38 /*** Sets the scope of this tool.
39 * The currently recognized scope are "request", "session", "persistent", "global"
40 * @param scope the new scope of this tool
41 */
42 public void setScope( String scope );
43
44 /*** @return the clasname of this tool */
45 public String getClassname();
46
47 /*** Sets the classname of this tool
48 * @param classname the new classname of this tool
49 */
50 public void setClassname( String classname );
51 }