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

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

public class OperationDescriptor
extends Object

Java class for operation element declaration.

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

 <element name="operation">
   <complexType>
     <complexContent>
       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         <sequence>
           <element name="parameters" type="{urn:xmlns:rhq-configuration}configuration" minOccurs="0"/>
           <element name="results" type="{urn:xmlns:rhq-configuration}configuration" minOccurs="0"/>
           <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" />
         <attribute name="timeout" type="{http://www.w3.org/2001/XMLSchema}int" />
       </restriction>
     </complexContent>
   </complexType>
 </element>
 


Field Summary
protected  String description
           
protected  String displayName
           
protected  String name
           
protected  ConfigurationDescriptor parameters
           
protected  ConfigurationDescriptor results
           
protected  Integer timeout
           
protected  Version version
           
 
Constructor Summary
OperationDescriptor()
           
 
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.
 ConfigurationDescriptor getParameters()
          Gets the value of the parameters property.
 ConfigurationDescriptor getResults()
          Gets the value of the results property.
 Integer getTimeout()
          Gets the value of the timeout 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 setParameters(ConfigurationDescriptor value)
          Sets the value of the parameters property.
 void setResults(ConfigurationDescriptor value)
          Sets the value of the results property.
 void setTimeout(Integer value)
          Sets the value of the timeout 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

parameters

protected ConfigurationDescriptor parameters

results

protected ConfigurationDescriptor results

version

protected Version version

description

protected String description

displayName

protected String displayName

name

protected String name

timeout

protected Integer timeout
Constructor Detail

OperationDescriptor

public OperationDescriptor()
Method Detail

getParameters

public ConfigurationDescriptor getParameters()
Gets the value of the parameters property.

Returns:
possible object is ConfigurationDescriptor

setParameters

public void setParameters(ConfigurationDescriptor value)
Sets the value of the parameters property.

Parameters:
value - allowed object is ConfigurationDescriptor

getResults

public ConfigurationDescriptor getResults()
Gets the value of the results property.

Returns:
possible object is ConfigurationDescriptor

setResults

public void setResults(ConfigurationDescriptor value)
Sets the value of the results property.

Parameters:
value - allowed object is ConfigurationDescriptor

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

getTimeout

public Integer getTimeout()
Gets the value of the timeout property.

Returns:
possible object is Integer

setTimeout

public void setTimeout(Integer value)
Sets the value of the timeout property.

Parameters:
value - allowed object is Integer


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.