org.jboss.portal.test.framework.info
Class TestParameterInfo

java.lang.Object
  extended by org.jboss.portal.test.framework.info.TestParameterInfo
All Implemented Interfaces:
java.io.Serializable

public class TestParameterInfo
extends java.lang.Object
implements java.io.Serializable

Meta information of a test parameter.

Version:
$Revision: 7228 $
Author:
Julien Viet
See Also:
Serialized Form

Constructor Summary
TestParameterInfo(java.lang.String name)
          Create a test parameter with the specified name.
TestParameterInfo(java.lang.String name, java.lang.String description)
          Create a test parameter with the specified name.
 
Method Summary
 java.lang.String getDescription()
          Return the parameter description.
 java.lang.String getName()
          Return the parameter name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestParameterInfo

public TestParameterInfo(java.lang.String name)
                  throws java.lang.IllegalArgumentException
Create a test parameter with the specified name.

Parameters:
name - the parameter name
Throws:
java.lang.IllegalArgumentException - if the name is null

TestParameterInfo

public TestParameterInfo(java.lang.String name,
                         java.lang.String description)
                  throws java.lang.IllegalArgumentException
Create a test parameter with the specified name.

Parameters:
name - the parameter name
description - the parameter description
Throws:
java.lang.IllegalArgumentException - if the name is null
Method Detail

getName

public java.lang.String getName()
Return the parameter name.

Returns:
the parameter name

getDescription

public java.lang.String getDescription()
Return the parameter description.

Returns:
the parameter description