|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.cruisecontrol.config.PluginPlugin
A <plugin> element registers a classname with an alias for use within the
configuration file.
Plugins can also be pre-configured at registration time. This can greatly reduce the configuration file size.
The plugins page contains a discussion of the plugin architecture used with CruiseControl.
| Constructor Summary | |
PluginPlugin()
|
|
| Method Summary | |
void |
configure(org.jdom.Element element)
|
java.lang.String |
getClassname()
|
java.lang.String |
getName()
|
org.jdom.Element |
getTransformedElement()
|
void |
setClassname(java.lang.String className)
The class that implements the plugin. |
void |
setName(java.lang.String name)
The alias used to refer to the plugin elsewhere in the configuration file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PluginPlugin()
| Method Detail |
public void setName(java.lang.String name)
name - the plugin namepublic void setClassname(java.lang.String className)
className - the plugin class namepublic java.lang.String getName()
public java.lang.String getClassname()
public void configure(org.jdom.Element element)
throws CruiseControlException
configure in interface SelfConfiguringPluginelement -
CruiseControlExceptionpublic org.jdom.Element getTransformedElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||