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>
| Modifier and Type | Class and Description |
|---|---|
static class |
DriftDescriptor.Basedir
The root directory from which snapshots will be generated during drift detection.
|
| Modifier and Type | Field and Description |
|---|---|
protected DriftDescriptor.Basedir |
basedir |
protected String |
description |
protected String |
driftHandlingMode |
protected DriftExcludesDescriptor |
excludes |
protected DriftIncludesDescriptor |
includes |
protected Long |
interval |
protected String |
name |
| Constructor and Description |
|---|
DriftDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected DriftDescriptor.Basedir basedir
protected Long interval
protected String driftHandlingMode
protected DriftIncludesDescriptor includes
protected DriftExcludesDescriptor excludes
protected String description
protected String name
public DriftDescriptor.Basedir getBasedir()
DriftDescriptor.Basedirpublic void setBasedir(DriftDescriptor.Basedir value)
value - allowed object is
DriftDescriptor.Basedirpublic Long getInterval()
Longpublic void setInterval(Long value)
value - allowed object is
Longpublic String getDriftHandlingMode()
Stringpublic void setDriftHandlingMode(String value)
value - allowed object is
Stringpublic DriftIncludesDescriptor getIncludes()
DriftIncludesDescriptorpublic void setIncludes(DriftIncludesDescriptor value)
value - allowed object is
DriftIncludesDescriptorpublic DriftExcludesDescriptor getExcludes()
DriftExcludesDescriptorpublic void setExcludes(DriftExcludesDescriptor value)
value - allowed object is
DriftExcludesDescriptorpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getName()
StringCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.