org.rhq.core.clientapi.descriptor.plugin
Class BundleTargetDescriptor

java.lang.Object
  extended by org.rhq.core.clientapi.descriptor.plugin.BundleTargetDescriptor

public class BundleTargetDescriptor
extends Object

If defined, the resource can be used as a target for bundle deployment. The child elements describe where, under the resource, bundles can be deployed.

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>
 


Nested Class Summary
static class BundleTargetDescriptor.DestinationBaseDir
          Defines where a bundle can be deployed under the resource.
 
Field Summary
protected  List<BundleTargetDescriptor.DestinationBaseDir> destinationBaseDir
           
 
Constructor Summary
BundleTargetDescriptor()
           
 
Method Summary
 List<BundleTargetDescriptor.DestinationBaseDir> getDestinationBaseDir()
          Gets the value of the destinationBaseDir property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

destinationBaseDir

protected List<BundleTargetDescriptor.DestinationBaseDir> destinationBaseDir
Constructor Detail

BundleTargetDescriptor

public BundleTargetDescriptor()
Method Detail

getDestinationBaseDir

public List<BundleTargetDescriptor.DestinationBaseDir> getDestinationBaseDir()
Gets the value of the destinationBaseDir property.

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-2012 Red Hat, Inc.. All Rights Reserved.