public class Argument extends AbstractTestElement implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
ARG_NAME
Name used to store the argument's name.
|
static String |
DESCRIPTION
Name used to store the argument's description.
|
static String |
METADATA
Name used to store the argument's metadata.
|
static String |
VALUE
Name used to store the argument's value.
|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
Argument()
Create a new Argument without a name, value, or metadata.
|
Argument(String name,
String value)
Create a new Argument with the specified name and value, and no metadata.
|
Argument(String name,
String value,
String metadata)
Create a new Argument with the specified name, value, and metadata.
|
Argument(String name,
String value,
String metadata,
String description)
Create a new Argument with the specified name, value, and metadata.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the Meta Data attribute of the Argument.
|
String |
getMetaData()
Gets the Meta Data attribute of the Argument.
|
String |
getName()
Get the name of the Argument.
|
String |
getValue()
Gets the value of the Argument object.
|
boolean |
isSkippable(String parameterName)
Is this parameter skippable, i.e.
|
void |
setDescription(String description)
Sets the Description attribute of the Argument.
|
void |
setMetaData(String newMetaData)
Sets the Meta Data attribute of the Argument.
|
void |
setName(String newName)
Set the name of the Argument.
|
void |
setValue(String newValue)
Sets the value of the Argument.
|
String |
toString() |
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
finalize, getClass, notify, notifyAll, wait, wait, wait
removed
public static final String ARG_NAME
public static final String VALUE
public static final String DESCRIPTION
public static final String METADATA
public Argument()
public Argument(String name, String value)
name
- the argument namevalue
- the argument valuepublic Argument(String name, String value, String metadata)
name
- the argument namevalue
- the argument valuemetadata
- the argument metadatapublic void setName(String newName)
setName
in interface TestElement
setName
in class AbstractTestElement
newName
- the new namepublic String getName()
getName
in interface TestElement
getName
in class AbstractTestElement
public void setValue(String newValue)
newValue
- the new valuepublic String getValue()
public void setDescription(String description)
description
- the new descriptionpublic String getDescription()
public void setMetaData(String newMetaData)
newMetaData
- the new metadatapublic String getMetaData()
public boolean isSkippable(String parameterName)
parameterName
- - parameter nameCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.