public abstract class ResourceDescriptor extends Object
Java class for resource complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="resource">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:xmlns:rhq-plugin}version" minOccurs="0"/>
<element name="runs-inside" type="{urn:xmlns:rhq-plugin}runsInsideType" minOccurs="0"/>
<element name="subcategories" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:xmlns:rhq-plugin}subcategory" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="bundle" type="{urn:xmlns:rhq-plugin}bundle" minOccurs="0"/>
<element name="plugin-configuration" type="{urn:xmlns:rhq-configuration}configuration" minOccurs="0"/>
<element name="process-scan" type="{urn:xmlns:rhq-plugin}processScan" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:xmlns:rhq-plugin}operation" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:xmlns:rhq-plugin}metric" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:xmlns:rhq-plugin}event" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:xmlns:rhq-plugin}content" maxOccurs="unbounded" minOccurs="0"/>
<element name="resource-configuration" type="{urn:xmlns:rhq-configuration}configuration" minOccurs="0"/>
<element name="drift-definition" type="{urn:xmlns:rhq-plugin}Drift" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:xmlns:rhq-plugin}bundle-target" minOccurs="0"/>
<element ref="{urn:xmlns:rhq-plugin}help" minOccurs="0"/>
</sequence>
<attribute name="class" type="{urn:xmlns:rhq-plugin}classNameType" />
<attribute name="classLoader" default="shared">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="shared"/>
<enumeration value="instance"/>
</restriction>
</simpleType>
</attribute>
<attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="discovery" type="{urn:xmlns:rhq-plugin}classNameType" />
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="singleton" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="subCategory" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="supportsManualAdd" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceDescriptor.Subcategories
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected Bundle |
bundle |
protected BundleTargetDescriptor |
bundleTarget |
protected String |
classLoader |
protected String |
clazz |
protected List<ContentDescriptor> |
content |
protected String |
description |
protected String |
discovery |
protected List<DriftDescriptor> |
driftDefinition |
protected List<EventDescriptor> |
event |
protected Help |
help |
protected List<MetricDescriptor> |
metric |
protected String |
name |
protected List<OperationDescriptor> |
operation |
protected ConfigurationDescriptor |
pluginConfiguration |
protected List<ProcessScanDescriptor> |
processScan |
protected ConfigurationDescriptor |
resourceConfiguration |
protected RunsInsideType |
runsInside |
protected Boolean |
singleton |
protected ResourceDescriptor.Subcategories |
subcategories |
protected String |
subCategory |
protected Boolean |
supportsManualAdd |
protected Version |
version |
| Constructor and Description |
|---|
ResourceDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
Bundle |
getBundle()
Gets the value of the bundle property.
|
BundleTargetDescriptor |
getBundleTarget()
Gets the value of the bundleTarget property.
|
String |
getClassLoader()
Gets the value of the classLoader property.
|
String |
getClazz()
Gets the value of the clazz property.
|
List<ContentDescriptor> |
getContent()
Gets the value of the content property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getDiscovery()
Gets the value of the discovery property.
|
List<DriftDescriptor> |
getDriftDefinition()
Gets the value of the driftDefinition property.
|
List<EventDescriptor> |
getEvent()
Gets the value of the event property.
|
Help |
getHelp()
Gets the value of the help property.
|
List<MetricDescriptor> |
getMetric()
Gets the value of the metric property.
|
String |
getName()
Gets the value of the name property.
|
List<OperationDescriptor> |
getOperation()
Gets the value of the operation property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
ConfigurationDescriptor |
getPluginConfiguration()
Gets the value of the pluginConfiguration property.
|
List<ProcessScanDescriptor> |
getProcessScan()
Gets the value of the processScan property.
|
ConfigurationDescriptor |
getResourceConfiguration()
Gets the value of the resourceConfiguration property.
|
RunsInsideType |
getRunsInside()
Gets the value of the runsInside property.
|
ResourceDescriptor.Subcategories |
getSubcategories()
Gets the value of the subcategories property.
|
String |
getSubCategory()
Gets the value of the subCategory property.
|
Version |
getVersion()
Gets the value of the version property.
|
boolean |
isSingleton()
Gets the value of the singleton property.
|
boolean |
isSupportsManualAdd()
Gets the value of the supportsManualAdd property.
|
void |
setBundle(Bundle value)
Sets the value of the bundle property.
|
void |
setBundleTarget(BundleTargetDescriptor value)
Sets the value of the bundleTarget property.
|
void |
setClassLoader(String value)
Sets the value of the classLoader property.
|
void |
setClazz(String value)
Sets the value of the clazz property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDiscovery(String value)
Sets the value of the discovery property.
|
void |
setHelp(Help value)
Sets the value of the help property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPluginConfiguration(ConfigurationDescriptor value)
Sets the value of the pluginConfiguration property.
|
void |
setResourceConfiguration(ConfigurationDescriptor value)
Sets the value of the resourceConfiguration property.
|
void |
setRunsInside(RunsInsideType value)
Sets the value of the runsInside property.
|
void |
setSingleton(Boolean value)
Sets the value of the singleton property.
|
void |
setSubcategories(ResourceDescriptor.Subcategories value)
Sets the value of the subcategories property.
|
void |
setSubCategory(String value)
Sets the value of the subCategory property.
|
void |
setSupportsManualAdd(Boolean value)
Sets the value of the supportsManualAdd property.
|
void |
setVersion(Version value)
Sets the value of the version property.
|
protected Version version
protected RunsInsideType runsInside
protected ResourceDescriptor.Subcategories subcategories
protected Bundle bundle
protected ConfigurationDescriptor pluginConfiguration
protected List<ProcessScanDescriptor> processScan
protected List<OperationDescriptor> operation
protected List<MetricDescriptor> metric
protected List<EventDescriptor> event
protected List<ContentDescriptor> content
protected ConfigurationDescriptor resourceConfiguration
protected List<DriftDescriptor> driftDefinition
protected BundleTargetDescriptor bundleTarget
protected Help help
protected String clazz
protected String classLoader
protected String description
protected String discovery
protected String name
protected Boolean singleton
protected String subCategory
protected Boolean supportsManualAdd
public Version getVersion()
Versionpublic void setVersion(Version value)
value - allowed object is
Versionpublic RunsInsideType getRunsInside()
RunsInsideTypepublic void setRunsInside(RunsInsideType value)
value - allowed object is
RunsInsideTypepublic ResourceDescriptor.Subcategories getSubcategories()
ResourceDescriptor.Subcategoriespublic void setSubcategories(ResourceDescriptor.Subcategories value)
value - allowed object is
ResourceDescriptor.Subcategoriespublic Bundle getBundle()
Bundlepublic void setBundle(Bundle value)
value - allowed object is
Bundlepublic ConfigurationDescriptor getPluginConfiguration()
ConfigurationDescriptorpublic void setPluginConfiguration(ConfigurationDescriptor value)
value - allowed object is
ConfigurationDescriptorpublic List<ProcessScanDescriptor> getProcessScan()
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 processScan property.
For example, to add a new item, do as follows:
getProcessScan().add(newItem);
Objects of the following type(s) are allowed in the list
ProcessScanDescriptor
public List<OperationDescriptor> getOperation()
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 operation property.
For example, to add a new item, do as follows:
getOperation().add(newItem);
Objects of the following type(s) are allowed in the list
OperationDescriptor
public List<MetricDescriptor> getMetric()
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 metric property.
For example, to add a new item, do as follows:
getMetric().add(newItem);
Objects of the following type(s) are allowed in the list
MetricDescriptor
public List<EventDescriptor> getEvent()
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 event property.
For example, to add a new item, do as follows:
getEvent().add(newItem);
Objects of the following type(s) are allowed in the list
EventDescriptor
public List<ContentDescriptor> getContent()
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 content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
ContentDescriptor
public ConfigurationDescriptor getResourceConfiguration()
ConfigurationDescriptorpublic void setResourceConfiguration(ConfigurationDescriptor value)
value - allowed object is
ConfigurationDescriptorpublic List<DriftDescriptor> getDriftDefinition()
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 driftDefinition property.
For example, to add a new item, do as follows:
getDriftDefinition().add(newItem);
Objects of the following type(s) are allowed in the list
DriftDescriptor
public BundleTargetDescriptor getBundleTarget()
BundleTargetDescriptorpublic void setBundleTarget(BundleTargetDescriptor value)
value - allowed object is
BundleTargetDescriptorpublic void setHelp(Help value)
value - allowed object is
Helppublic String getClazz()
Stringpublic void setClazz(String value)
value - allowed object is
Stringpublic String getClassLoader()
Stringpublic void setClassLoader(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getDiscovery()
Stringpublic void setDiscovery(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic boolean isSingleton()
Booleanpublic void setSingleton(Boolean value)
value - allowed object is
Booleanpublic String getSubCategory()
Stringpublic void setSubCategory(String value)
value - allowed object is
Stringpublic boolean isSupportsManualAdd()
Booleanpublic void setSupportsManualAdd(Boolean value)
value - allowed object is
Booleanpublic Map<QName,String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.