public class ServiceDescriptor extends ResourceDescriptor
Java class for service complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="service">
<complexContent>
<extension base="{urn:xmlns:rhq-plugin}resource">
<sequence>
<element ref="{urn:xmlns:rhq-plugin}service" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attGroup ref="{urn:xmlns:rhq-plugin}creationAttributes"/>
<attGroup ref="{urn:xmlns:rhq-plugin}embeddedSourceResourceType"/>
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</complexContent>
</complexType>
ResourceDescriptor.Subcategories| Modifier and Type | Field and Description |
|---|---|
protected ResourceCreateDeletePolicy |
createDeletePolicy |
protected ResourceCreationData |
creationDataType |
protected List<ServiceDescriptor> |
services |
protected String |
sourcePlugin |
protected String |
sourceType |
protected String |
type |
bundle, bundleTarget, classLoader, clazz, content, description, discovery, driftDefinition, event, help, metric, name, operation, pluginConfiguration, processScan, resourceConfiguration, runsInside, singleton, subcategories, subCategory, supportsManualAdd, version| Constructor and Description |
|---|
ServiceDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
ResourceCreateDeletePolicy |
getCreateDeletePolicy()
Gets the value of the createDeletePolicy property.
|
ResourceCreationData |
getCreationDataType()
Gets the value of the creationDataType property.
|
List<ServiceDescriptor> |
getServices()
Defines child services that are hosted in this resource type.
|
String |
getSourcePlugin()
Gets the value of the sourcePlugin property.
|
String |
getSourceType()
Gets the value of the sourceType property.
|
String |
getType()
Gets the value of the type property.
|
void |
setCreateDeletePolicy(ResourceCreateDeletePolicy value)
Sets the value of the createDeletePolicy property.
|
void |
setCreationDataType(ResourceCreationData value)
Sets the value of the creationDataType property.
|
void |
setSourcePlugin(String value)
Sets the value of the sourcePlugin property.
|
void |
setSourceType(String value)
Sets the value of the sourceType property.
|
void |
setType(String value)
Sets the value of the type property.
|
getBundle, getBundleTarget, getClassLoader, getClazz, getContent, getDescription, getDiscovery, getDriftDefinition, getEvent, getHelp, getMetric, getName, getOperation, getOtherAttributes, getPluginConfiguration, getProcessScan, getResourceConfiguration, getRunsInside, getSubcategories, getSubCategory, getVersion, isSingleton, isSupportsManualAdd, setBundle, setBundleTarget, setClassLoader, setClazz, setDescription, setDiscovery, setHelp, setName, setPluginConfiguration, setResourceConfiguration, setRunsInside, setSingleton, setSubcategories, setSubCategory, setSupportsManualAdd, setVersionprotected List<ServiceDescriptor> services
protected String type
protected ResourceCreateDeletePolicy createDeletePolicy
protected ResourceCreationData creationDataType
protected String sourcePlugin
protected String sourceType
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 String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic ResourceCreateDeletePolicy getCreateDeletePolicy()
ResourceCreateDeletePolicypublic void setCreateDeletePolicy(ResourceCreateDeletePolicy value)
value - allowed object is
ResourceCreateDeletePolicypublic ResourceCreationData getCreationDataType()
ResourceCreationDatapublic void setCreationDataType(ResourceCreationData value)
value - allowed object is
ResourceCreationDatapublic String getSourcePlugin()
Stringpublic void setSourcePlugin(String value)
value - allowed object is
Stringpublic String getSourceType()
StringCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.