public class ContentSourceTypeDefinition extends Object
Java class for contentSourceType element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="contentSourceType">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="configuration" type="{urn:xmlns:rhq-configuration}configuration" minOccurs="0"/>
</sequence>
<attribute name="apiClass" use="required" type="{urn:xmlns:rhq-serverplugin}classNameType" />
<attribute name="description">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<minLength value="1"/>
<maxLength value="500"/>
</restriction>
</simpleType>
</attribute>
<attribute name="displayName">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<minLength value="1"/>
<maxLength value="200"/>
</restriction>
</simpleType>
</attribute>
<attribute name="downloadMode" default="database">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="never"/>
<enumeration value="database"/>
<enumeration value="filesystem"/>
</restriction>
</simpleType>
</attribute>
<attribute name="lazyLoad" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="name" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<minLength value="1"/>
<maxLength value="200"/>
</restriction>
</simpleType>
</attribute>
<attribute name="syncSchedule" type="{http://www.w3.org/2001/XMLSchema}string" default="0 0 3 * * ?" />
</restriction>
</complexContent>
</complexType>
</element>
| Modifier and Type | Field and Description |
|---|---|
protected String |
apiClass |
protected ConfigurationDescriptor |
configuration |
protected String |
description |
protected String |
displayName |
protected String |
downloadMode |
protected boolean |
lazyLoad |
protected String |
name |
protected String |
syncSchedule |
| Constructor and Description |
|---|
ContentSourceTypeDefinition() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiClass()
Gets the value of the apiClass property.
|
ConfigurationDescriptor |
getConfiguration()
Gets the value of the configuration property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getDisplayName()
Gets the value of the displayName property.
|
String |
getDownloadMode()
Gets the value of the downloadMode property.
|
String |
getName()
Gets the value of the name property.
|
String |
getSyncSchedule()
Gets the value of the syncSchedule property.
|
boolean |
isLazyLoad()
Gets the value of the lazyLoad property.
|
void |
setApiClass(String value)
Sets the value of the apiClass property.
|
void |
setConfiguration(ConfigurationDescriptor value)
Sets the value of the configuration property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDisplayName(String value)
Sets the value of the displayName property.
|
void |
setDownloadMode(String value)
Sets the value of the downloadMode property.
|
void |
setLazyLoad(boolean value)
Sets the value of the lazyLoad property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setSyncSchedule(String value)
Sets the value of the syncSchedule property.
|
protected ConfigurationDescriptor configuration
protected String apiClass
protected String description
protected String displayName
protected String downloadMode
protected boolean lazyLoad
protected String name
protected String syncSchedule
public ConfigurationDescriptor getConfiguration()
ConfigurationDescriptorpublic void setConfiguration(ConfigurationDescriptor value)
value - allowed object is
ConfigurationDescriptorpublic String getApiClass()
Stringpublic void setApiClass(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getDisplayName()
Stringpublic void setDisplayName(String value)
value - allowed object is
Stringpublic String getDownloadMode()
Stringpublic void setDownloadMode(String value)
value - allowed object is
Stringpublic boolean isLazyLoad()
public void setLazyLoad(boolean value)
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getSyncSchedule()
StringCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.