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

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

public class DriftDescriptor
extends Object

Java class for Drift complex type.

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

 <complexType name="Drift">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="basedir">
           <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>
         </element>
         <element name="interval" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="drift-handling-mode" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="normal"/>
               <enumeration value="plannedChange"/>
             </restriction>
           </simpleType>
         </element>
         <element name="includes" type="{urn:xmlns:rhq-plugin}DriftIncludes" minOccurs="0"/>
         <element name="excludes" type="{urn:xmlns:rhq-plugin}DriftExcludes" minOccurs="0"/>
       </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>
 


Nested Class Summary
static class DriftDescriptor.Basedir
          The root directory from which snapshots will be generated during drift detection.
 
Field Summary
protected  DriftDescriptor.Basedir basedir
           
protected  String description
           
protected  String driftHandlingMode
           
protected  DriftExcludesDescriptor excludes
           
protected  DriftIncludesDescriptor includes
           
protected  Long interval
           
protected  String name
           
 
Constructor Summary
DriftDescriptor()
           
 
Method Summary
 DriftDescriptor.Basedir getBasedir()
          Gets the value of the basedir property.
 String getDescription()
          Gets the value of the description property.
 String getDriftHandlingMode()
          Gets the value of the driftHandlingMode property.
 DriftExcludesDescriptor getExcludes()
          Gets the value of the excludes property.
 DriftIncludesDescriptor getIncludes()
          Gets the value of the includes property.
 Long getInterval()
          Gets the value of the interval property.
 String getName()
          Gets the value of the name property.
 void setBasedir(DriftDescriptor.Basedir value)
          Sets the value of the basedir property.
 void setDescription(String value)
          Sets the value of the description property.
 void setDriftHandlingMode(String value)
          Sets the value of the driftHandlingMode property.
 void setExcludes(DriftExcludesDescriptor value)
          Sets the value of the excludes property.
 void setIncludes(DriftIncludesDescriptor value)
          Sets the value of the includes property.
 void setInterval(Long value)
          Sets the value of the interval property.
 void setName(String value)
          Sets the value of the name property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

basedir

protected DriftDescriptor.Basedir basedir

interval

protected Long interval

driftHandlingMode

protected String driftHandlingMode

includes

protected DriftIncludesDescriptor includes

excludes

protected DriftExcludesDescriptor excludes

description

protected String description

name

protected String name
Constructor Detail

DriftDescriptor

public DriftDescriptor()
Method Detail

getBasedir

public DriftDescriptor.Basedir getBasedir()
Gets the value of the basedir property.

Returns:
possible object is DriftDescriptor.Basedir

setBasedir

public void setBasedir(DriftDescriptor.Basedir value)
Sets the value of the basedir property.

Parameters:
value - allowed object is DriftDescriptor.Basedir

getInterval

public Long getInterval()
Gets the value of the interval property.

Returns:
possible object is Long

setInterval

public void setInterval(Long value)
Sets the value of the interval property.

Parameters:
value - allowed object is Long

getDriftHandlingMode

public String getDriftHandlingMode()
Gets the value of the driftHandlingMode property.

Returns:
possible object is String

setDriftHandlingMode

public void setDriftHandlingMode(String value)
Sets the value of the driftHandlingMode property.

Parameters:
value - allowed object is String

getIncludes

public DriftIncludesDescriptor getIncludes()
Gets the value of the includes property.

Returns:
possible object is DriftIncludesDescriptor

setIncludes

public void setIncludes(DriftIncludesDescriptor value)
Sets the value of the includes property.

Parameters:
value - allowed object is DriftIncludesDescriptor

getExcludes

public DriftExcludesDescriptor getExcludes()
Gets the value of the excludes property.

Returns:
possible object is DriftExcludesDescriptor

setExcludes

public void setExcludes(DriftExcludesDescriptor value)
Sets the value of the excludes property.

Parameters:
value - allowed object is DriftExcludesDescriptor

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.