|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfedora.server.Parameterized
fedora.server.Pluggable
Title: Pluggable.java
Description: Abstract superclass of all Fedora components that can be configured by a set of name-value pairs.
-----------------------------------------------------------------------------License and Copyright: The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
The entire file consists of original code. Copyright © 2002-2005 by The Rector and Visitors of the University of Virginia and Cornell University. All rights reserved.
-----------------------------------------------------------------------------
| Constructor Summary | |
Pluggable()
Creates a Pluggable with no parameters. |
|
Pluggable(java.util.Map parameters)
Creates a Pluggable with name-value pairs from the supplied Map. |
|
| Method Summary | |
java.lang.String |
getHelp()
Gets an explanation of how this component is to be configured via parameters. |
java.lang.String[] |
getOptionalParameters()
Gets the names of optional parameters for this component. |
java.lang.String |
getParameterHelp(java.lang.String name)
Gets a short explanation of how to use a named parameter. |
java.lang.String[] |
getRequiredModuleRoles()
Gets the names of the roles that are required by this Pluggable.
|
java.lang.String[] |
getRequiredParameters()
Gets the names of required parameters for this component. |
| Methods inherited from class fedora.server.Parameterized |
getParameter, getParameters, parameterNames, setParameter, setParameters |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Pluggable()
public Pluggable(java.util.Map parameters)
parameters - The map from which to derive the name-value pairs.| Method Detail |
public java.lang.String[] getRequiredParameters()
public java.lang.String[] getOptionalParameters()
public java.lang.String getParameterHelp(java.lang.String name)
name - The name of the parameter.
public java.lang.String getHelp()
public java.lang.String[] getRequiredModuleRoles()
Pluggable.
By default, no roles need to be fulfilled.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||