public class JMSProperties extends AbstractTestElement implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
JMS_PROPERTIES
The name of the property used to store the JmsProperties.
|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS| Constructor and Description |
|---|
JMSProperties()
Create a new JmsPropertys object with no JmsProperties
|
| Modifier and Type | Method and Description |
|---|---|
void |
addJmsProperty(JMSProperty arg)
Add a new argument.
|
void |
addJmsProperty(java.lang.String name,
java.lang.String value)
Add a new JMSProperty with the given name and value.
|
void |
addJmsProperty(java.lang.String name,
java.lang.String value,
java.lang.String type)
Add a new argument with the given name, value, and metadata.
|
void |
clear()
Clear the JmsProperties.
|
JMSProperty |
getJmsProperty(int row)
Get a single JMSProperty.
|
int |
getJmsPropertyCount()
Get the number of JmsProperties in the list.
|
java.util.Map<java.lang.String,java.lang.Object> |
getJmsPropertysAsMap()
Get the JmsProperties as a Map.
|
CollectionProperty |
getProperties()
Get the JmsPropertiess.
|
PropertyIterator |
iterator()
Get a PropertyIterator of the JmsProperties.
|
void |
removeAllJmsPropertys()
Remove all JmsProperties from the list.
|
void |
removeJmsProperty(int row)
Remove the specified argument from the list.
|
void |
removeJmsProperty(JMSProperty arg)
Remove the specified argument from the list.
|
void |
removeJmsProperty(java.lang.String argName)
Remove the argument with the specified name.
|
void |
setProperties(java.util.List<JMSProperty> jmsProperties)
Set the list of JmsProperties.
|
java.lang.String |
toString()
Create a string representation of the JmsProperties.
|
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, 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, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traversePropertyfinalize, getClass, notify, notifyAll, wait, wait, waitremovedpublic static final java.lang.String JMS_PROPERTIES
public JMSProperties()
public CollectionProperty getProperties()
public void clear()
clear in interface TestElementclear in class AbstractTestElementpublic void setProperties(java.util.List<JMSProperty> jmsProperties)
jmsProperties - the new JmsPropertiespublic java.util.Map<java.lang.String,java.lang.Object> getJmsPropertysAsMap()
public void addJmsProperty(java.lang.String name,
java.lang.String value)
name - the name of the JMSPropertyvalue - the value of the JMSPropertypublic void addJmsProperty(JMSProperty arg)
arg - the new argumentpublic void addJmsProperty(java.lang.String name,
java.lang.String value,
java.lang.String type)
name - the name of the argumentvalue - the value of the argumenttype - the type for the argumentpublic PropertyIterator iterator()
public java.lang.String toString()
toString in class java.lang.Objectpublic void removeJmsProperty(int row)
row - the index of the argument to removepublic void removeJmsProperty(JMSProperty arg)
arg - the argument to removepublic void removeJmsProperty(java.lang.String argName)
argName - the name of the argument to removepublic void removeAllJmsPropertys()
public int getJmsPropertyCount()
public JMSProperty getJmsProperty(int row)
row - the index of the JMSProperty to return.Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.