public class ContentDescriptor extends Object
Java class for content element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="content">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="configuration" type="{urn:xmlns:rhq-configuration}configuration" minOccurs="0"/>
<element ref="{urn:xmlns:rhq-plugin}version" minOccurs="0"/>
</sequence>
<attribute name="category" use="required" type="{urn:xmlns:rhq-plugin}contentDescriptorCategory" />
<attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="discoveryInterval" type="{http://www.w3.org/2001/XMLSchema}int" default="43200000" />
<attribute name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="isCreationType" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="supportsArchitecture" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
</element>
| Modifier and Type | Field and Description |
|---|---|
protected ContentDescriptorCategory |
category |
protected ConfigurationDescriptor |
configuration |
protected String |
description |
protected Integer |
discoveryInterval |
protected String |
displayName |
protected Boolean |
isCreationType |
protected String |
name |
protected Boolean |
supportsArchitecture |
protected Version |
version |
| Constructor and Description |
|---|
ContentDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
ContentDescriptorCategory |
getCategory()
Gets the value of the category property.
|
ConfigurationDescriptor |
getConfiguration()
Gets the value of the configuration property.
|
String |
getDescription()
Gets the value of the description property.
|
int |
getDiscoveryInterval()
Gets the value of the discoveryInterval property.
|
String |
getDisplayName()
Gets the value of the displayName property.
|
String |
getName()
Gets the value of the name property.
|
Version |
getVersion()
Resource version to which this content applies.
|
boolean |
isIsCreationType()
Gets the value of the isCreationType property.
|
boolean |
isSupportsArchitecture()
Gets the value of the supportsArchitecture property.
|
void |
setCategory(ContentDescriptorCategory value)
Sets the value of the category property.
|
void |
setConfiguration(ConfigurationDescriptor value)
Sets the value of the configuration property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDiscoveryInterval(Integer value)
Sets the value of the discoveryInterval property.
|
void |
setDisplayName(String value)
Sets the value of the displayName property.
|
void |
setIsCreationType(Boolean value)
Sets the value of the isCreationType property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setSupportsArchitecture(Boolean value)
Sets the value of the supportsArchitecture property.
|
void |
setVersion(Version value)
Resource version to which this content applies.
|
protected ConfigurationDescriptor configuration
protected Version version
protected ContentDescriptorCategory category
protected String description
protected Integer discoveryInterval
protected String displayName
protected Boolean isCreationType
protected String name
protected Boolean supportsArchitecture
public ConfigurationDescriptor getConfiguration()
ConfigurationDescriptorpublic void setConfiguration(ConfigurationDescriptor value)
value - allowed object is
ConfigurationDescriptorpublic Version getVersion()
Versionpublic void setVersion(Version value)
value - allowed object is
Versionpublic ContentDescriptorCategory getCategory()
ContentDescriptorCategorypublic void setCategory(ContentDescriptorCategory value)
value - allowed object is
ContentDescriptorCategorypublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic int getDiscoveryInterval()
Integerpublic void setDiscoveryInterval(Integer value)
value - allowed object is
Integerpublic String getDisplayName()
Stringpublic void setDisplayName(String value)
value - allowed object is
Stringpublic boolean isIsCreationType()
Booleanpublic void setIsCreationType(Boolean value)
value - allowed object is
Booleanpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic boolean isSupportsArchitecture()
BooleanCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.