|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jmeter.testelement.AbstractTestElement org.apache.jmeter.protocol.jms.sampler.JMSProperty
public class JMSProperty
JMS Property with type
Field Summary | |
---|---|
static String |
PROP_NAME
Name used to store the JmsProperty's name. |
static String |
PROP_TYPE
Name used to store the JmsProperty's description. |
static String |
PROP_VALUE
Name used to store the JmsProperty's value. |
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
---|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
---|---|
JMSProperty()
Create a new JmsProperty without a name, value, or metadata. |
|
JMSProperty(String name,
String value)
Create a new JmsProperty with the specified name and value, and String type. |
|
JMSProperty(String name,
String value,
String type)
Create a new JmsProperty with the specified name and value, and String type. |
Method Summary | |
---|---|
String |
getName()
Get the name of the JmsProperty. |
String |
getType()
Gets the Meta Data attribute of the JmsProperty. |
String |
getValue()
Gets the value of the JmsProperty object. |
Object |
getValueAsObject()
|
void |
setName(String newName)
Set the name of the JmsProperty. |
void |
setType(String type)
Sets the Meta Data attribute of the JmsProperty. |
void |
setValue(String newValue)
Sets the value of the JmsProperty. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PROP_NAME
public static final String PROP_VALUE
public static final String PROP_TYPE
Constructor Detail |
---|
public JMSProperty()
public JMSProperty(String name, String value)
name
- the prop namevalue
- the prop valuepublic JMSProperty(String name, String value, String type)
name
- the prop namevalue
- the prop valuetype
- the type typeMethod Detail |
---|
public 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 setType(String type)
type
- the new typepublic String getType()
public String toString()
toString
in class Object
public Object getValueAsObject()
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |