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

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

public class EventDescriptor
extends Object

A type of event that can be checked periodically for occurrences.

Java class for event element declaration.

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

 <element name="event">
   <complexType>
     <complexContent>
       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         <sequence>
           <element ref="{urn:xmlns:rhq-plugin}version" minOccurs="0"/>
         </sequence>
         <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
         <attribute name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" />
         <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       </restriction>
     </complexContent>
   </complexType>
 </element>
 


Field Summary
protected  String description
           
protected  String displayName
           
protected  String name
           
protected  Version version
           
 
Constructor Summary
EventDescriptor()
           
 
Method Summary
 String getDescription()
          Gets the value of the description property.
 String getDisplayName()
          Gets the value of the displayName property.
 String getName()
          Gets the value of the name property.
 Version getVersion()
          Gets the value of the version property.
 void setDescription(String value)
          Sets the value of the description property.
 void setDisplayName(String value)
          Sets the value of the displayName property.
 void setName(String value)
          Sets the value of the name property.
 void setVersion(Version value)
          Sets the value of the version property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

protected Version version

description

protected String description

displayName

protected String displayName

name

protected String name
Constructor Detail

EventDescriptor

public EventDescriptor()
Method Detail

getVersion

public Version getVersion()
Gets the value of the version property.

Returns:
possible object is Version

setVersion

public void setVersion(Version value)
Sets the value of the version property.

Parameters:
value - allowed object is Version

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

getDisplayName

public String getDisplayName()
Gets the value of the displayName property.

Returns:
possible object is String

setDisplayName

public void setDisplayName(String value)
Sets the value of the displayName 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-2009 Red Hat, Inc.. All Rights Reserved.