1/*2 * Copyright 2000-2001,2004 The Apache Software Foundation.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 at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * 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 and14 * limitations under the License.15 */1617packageorg.apache.jetspeed.om.registry;
1819/***20 * Interface for storing tool information for a portlet, control or controller21 *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 */25publicinterfaceToolDescriptor26 {
27/*** @return the name of the tool */28public String getName();
2930/*** Sets the name for this tool31 * @param title the new name of the tool32 */33publicvoid setName( String name );
3435/*** @return the scope of this tool */36public String getScope();
3738/*** Sets the scope of this tool.39 * The currently recognized scope are "request", "session", "persistent", "global"40 * @param scope the new scope of this tool41 */42publicvoid setScope( String scope );
4344/*** @return the clasname of this tool */45public String getClassname();
4647/*** Sets the classname of this tool48 * @param classname the new classname of this tool49 */50publicvoid setClassname( String classname );
51 }