public class BundleTargetDescriptor extends Object
Java class for bundle-target element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="bundle-target">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="destination-base-dir" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="value-context">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="pluginConfiguration"/>
<enumeration value="resourceConfiguration"/>
<enumeration value="measurementTrait"/>
<enumeration value="fileSystem"/>
</restriction>
</simpleType>
</element>
<element name="value-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
<attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
| Modifier and Type | Class and Description |
|---|---|
static class |
BundleTargetDescriptor.DestinationBaseDir
Defines where a bundle can be deployed under the resource.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<BundleTargetDescriptor.DestinationBaseDir> |
destinationBaseDir |
| Constructor and Description |
|---|
BundleTargetDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
List<BundleTargetDescriptor.DestinationBaseDir> |
getDestinationBaseDir()
Gets the value of the destinationBaseDir property.
|
protected List<BundleTargetDescriptor.DestinationBaseDir> destinationBaseDir
public List<BundleTargetDescriptor.DestinationBaseDir> getDestinationBaseDir()
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 destinationBaseDir property.
For example, to add a new item, do as follows:
getDestinationBaseDir().add(newItem);
Objects of the following type(s) are allowed in the list
BundleTargetDescriptor.DestinationBaseDir
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.