|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.core.clientapi.descriptor.plugin.PluginDescriptor
public class PluginDescriptor
Root of a plugin representing an ON plugin definition and the resource model of supported managed systems and their components
Java class for plugin element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="plugin">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="depends" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="plugin" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="useClasses" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
</element>
<element ref="{urn:xmlns:rhq-plugin}platform" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:xmlns:rhq-plugin}server" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:xmlns:rhq-plugin}service" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:xmlns:rhq-plugin}help" minOccurs="0"/>
</sequence>
<attribute name="ampsVersion" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="package" type="{urn:xmlns:rhq-plugin}classNameType" />
<attribute name="pluginLifecycleListener" type="{urn:xmlns:rhq-plugin}classNameType" />
<attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
| Nested Class Summary | |
|---|---|
static class |
PluginDescriptor.Depends
Java class for anonymous complex type. |
| Field Summary | |
|---|---|
protected String |
_package
|
protected String |
ampsVersion
|
protected List<PluginDescriptor.Depends> |
depends
|
protected String |
description
|
protected String |
displayName
|
protected Help |
help
|
protected String |
name
|
protected List<PlatformDescriptor> |
platforms
|
protected String |
pluginLifecycleListener
|
protected List<ServerDescriptor> |
servers
|
protected List<ServiceDescriptor> |
services
|
protected String |
version
|
| Constructor Summary | |
|---|---|
PluginDescriptor()
|
|
| Method Summary | |
|---|---|
String |
getAmpsVersion()
Gets the value of the ampsVersion property. |
List<PluginDescriptor.Depends> |
getDepends()
Gets the value of the depends property. |
String |
getDescription()
Gets the value of the description property. |
String |
getDisplayName()
Gets the value of the displayName property. |
Help |
getHelp()
Gets the value of the help property. |
String |
getName()
Gets the value of the name property. |
String |
getPackage()
Gets the value of the package property. |
List<PlatformDescriptor> |
getPlatforms()
Defines a supported platform type (i.e. operating system). |
String |
getPluginLifecycleListener()
Gets the value of the pluginLifecycleListener property. |
List<ServerDescriptor> |
getServers()
Defines a supported server. |
List<ServiceDescriptor> |
getServices()
Defines a supported service. |
String |
getVersion()
Gets the value of the version property. |
void |
setAmpsVersion(String value)
Sets the value of the ampsVersion property. |
void |
setDescription(String value)
Sets the value of the description property. |
void |
setDisplayName(String value)
Sets the value of the displayName property. |
void |
setHelp(Help value)
Sets the value of the help property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setPackage(String value)
Sets the value of the package property. |
void |
setPluginLifecycleListener(String value)
Sets the value of the pluginLifecycleListener property. |
void |
setVersion(String value)
Sets the value of the version property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<PluginDescriptor.Depends> depends
protected List<PlatformDescriptor> platforms
protected List<ServerDescriptor> servers
protected List<ServiceDescriptor> services
protected Help help
protected String ampsVersion
protected String description
protected String displayName
protected String name
protected String _package
protected String pluginLifecycleListener
protected String version
| Constructor Detail |
|---|
public PluginDescriptor()
| Method Detail |
|---|
public List<PluginDescriptor.Depends> getDepends()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the depends property.
For example, to add a new item, do as follows:
getDepends().add(newItem);
Objects of the following type(s) are allowed in the list
PluginDescriptor.Depends
public List<PlatformDescriptor> getPlatforms()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the platforms property.
For example, to add a new item, do as follows:
getPlatforms().add(newItem);
Objects of the following type(s) are allowed in the list
PlatformDescriptor
public List<ServerDescriptor> getServers()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the servers property.
For example, to add a new item, do as follows:
getServers().add(newItem);
Objects of the following type(s) are allowed in the list
ServerDescriptor
public List<ServiceDescriptor> getServices()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the services property.
For example, to add a new item, do as follows:
getServices().add(newItem);
Objects of the following type(s) are allowed in the list
ServiceDescriptor
public Help getHelp()
Helppublic void setHelp(Help value)
value - allowed object is
Helppublic String getAmpsVersion()
Stringpublic void setAmpsVersion(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getDisplayName()
Stringpublic void setDisplayName(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getPackage()
Stringpublic void setPackage(String value)
value - allowed object is
Stringpublic String getPluginLifecycleListener()
Stringpublic void setPluginLifecycleListener(String value)
value - allowed object is
Stringpublic String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||