public class PluginDescriptor extends Object
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}discovery-callbacks" minOccurs="0"/>
<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>
| Modifier and Type | Class and Description |
|---|---|
static class |
PluginDescriptor.Depends
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
_package |
protected String |
ampsVersion |
protected List<PluginDescriptor.Depends> |
depends |
protected String |
description |
protected DiscoveryCallbacksType |
discoveryCallbacks |
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 and Description |
|---|
PluginDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
DiscoveryCallbacksType |
getDiscoveryCallbacks()
Defines the types and discovery classes whose discovered resources must be
funneled through this plugin's discovery classback classes.
|
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.
|
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 |
setDiscoveryCallbacks(DiscoveryCallbacksType value)
Defines the types and discovery classes whose discovered resources must be
funneled through this plugin's discovery classback classes.
|
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.
|
protected List<PluginDescriptor.Depends> depends
protected DiscoveryCallbacksType discoveryCallbacks
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
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 DiscoveryCallbacksType getDiscoveryCallbacks()
DiscoveryCallbacksTypepublic void setDiscoveryCallbacks(DiscoveryCallbacksType value)
value - allowed object is
DiscoveryCallbacksTypepublic 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 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()
StringCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.