org.rhq.core.clientapi.descriptor.plugin
Class DriftDescriptor.Basedir

java.lang.Object
  extended by org.rhq.core.clientapi.descriptor.plugin.DriftDescriptor.Basedir
Enclosing class:
DriftDescriptor

public static class DriftDescriptor.Basedir
extends Object

The root directory from which snapshots will be generated during drift detection. Each 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>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String valueContext
           
protected  String valueName
           
 
Constructor Summary
DriftDescriptor.Basedir()
           
 
Method Summary
 String getValueContext()
          Gets the value of the valueContext property.
 String getValueName()
          Gets the value of the valueName 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
Constructor Detail

DriftDescriptor.Basedir

public DriftDescriptor.Basedir()
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


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