public class JMSProperties extends AbstractTestElement implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static 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 JmsProperties object with no JmsProperties
|
| Modifier and Type | Method and Description |
|---|---|
void |
addJmsProperty(JMSProperty arg)
Add a new argument.
|
void |
addJmsProperty(String name,
String value)
Add a new JMSProperty with the given name and value.
|
void |
addJmsProperty(String name,
String value,
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.
|
Map<String,Object> |
getJmsPropertysAsMap()
Get the JmsProperties as a Map.
|
CollectionProperty |
getProperties()
Get the JmsProperties.
|
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(String argName)
Remove the argument with the specified name.
|
void |
setProperties(List<JMSProperty> jmsProperties)
Set the list of JmsProperties.
|
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 String JMS_PROPERTIES
public JMSProperties()
public CollectionProperty getProperties()
public void clear()
clear in interface TestElementclear in class AbstractTestElementpublic void setProperties(List<JMSProperty> jmsProperties)
jmsProperties - the new JmsPropertiespublic Map<String,Object> getJmsPropertysAsMap()
public void addJmsProperty(String name, String value)
name - the name of the JMSPropertyvalue - the value of the JMSPropertypublic void addJmsProperty(JMSProperty arg)
arg - the new argumentpublic void addJmsProperty(String name, String value, String type)
name - the name of the argumentvalue - the value of the argumenttype - the type for the argumentpublic PropertyIterator iterator()
public String toString()
public void removeJmsProperty(int row)
row - the index of the argument to removepublic void removeJmsProperty(JMSProperty arg)
arg - the argument to removepublic void removeJmsProperty(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-2019 Apache Software Foundation. All Rights Reserved.