|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.protocol.jms.sampler.JMSProperties
public class JMSProperties
A set of JMSProperty objects.
| Field Summary | |
|---|---|
static String |
JMS_PROPERTIES
The name of the property used to store the JmsProperties. |
| Fields inherited from interface org.apache.jmeter.testelement.TestElement |
|---|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
| Constructor Summary | |
|---|---|
JMSProperties()
Create a new JmsPropertys object with no JmsProperties |
|
| Method Summary | |
|---|---|
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 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(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. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String JMS_PROPERTIES
| Constructor Detail |
|---|
public JMSProperties()
| Method Detail |
|---|
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 argument
public 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()
toString in class Objectpublic 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.
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||