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

java.lang.Object
  extended by org.rhq.core.clientapi.descriptor.plugin.BundleTargetDescriptor.DestinationBaseDir
Enclosing class:
BundleTargetDescriptor

public static class BundleTargetDescriptor.DestinationBaseDir
extends Object

Defines where a bundle can be deployed under the resource. You must define one destination base directory, but may define more. Each destination base directory's value is obtained from a particular context (e.g. in the resource's plugin configuration or its resource configuration). Within that context, the base directory value is obtained by looking up the named value in the given context. For example, if the value-name is "install.dir" and the value-context is "pluginConfiguration", then the destination base directory value is obtained by getting the "install.dir" property value found in the resource's plugin configuration.

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <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>
 


Field Summary
protected  String description
           
protected  String name
           
protected  String valueContext
           
protected  String valueName
           
 
Constructor Summary
BundleTargetDescriptor.DestinationBaseDir()
           
 
Method Summary
 String getDescription()
          Gets the value of the description property.
 String getName()
          Gets the value of the name property.
 String getValueContext()
          Gets the value of the valueContext property.
 String getValueName()
          Gets the value of the valueName property.
 void setDescription(String value)
          Sets the value of the description property.
 void setName(String value)
          Sets the value of the name property.
 void setValueContext(String value)
          Sets the value of the valueContext property.
 void setValueName(String value)
          Sets the value of the valueName property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

valueContext

protected String valueContext

valueName

protected String valueName

description

protected String description

name

protected String name
Constructor Detail

BundleTargetDescriptor.DestinationBaseDir

public BundleTargetDescriptor.DestinationBaseDir()
Method Detail

getValueContext

public String getValueContext()
Gets the value of the valueContext property.

Returns:
possible object is String

setValueContext

public void setValueContext(String value)
Sets the value of the valueContext property.

Parameters:
value - allowed object is String

getValueName

public String getValueName()
Gets the value of the valueName property.

Returns:
possible object is String

setValueName

public void setValueName(String value)
Sets the value of the valueName property.

Parameters:
value - allowed object is String

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.