|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.core.clientapi.descriptor.plugin.ContentDescriptor
public class ContentDescriptor
Represents a particular type of package that is present on resources of this type, such as libraries, log files, and deployed applications. Each package discovered on these resources will be of one of the defined package types (i.e. an instance of this element).
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>
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
ContentDescriptor()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public ContentDescriptor()
| Method Detail |
|---|
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()
Booleanpublic void setSupportsArchitecture(Boolean value)
value - allowed object is
Boolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||