Class JMSProperty

java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.protocol.jms.sampler.JMSProperty
All Implemented Interfaces:
Serializable, Cloneable, Searchable, org.apache.jmeter.testelement.TestElement

public class JMSProperty extends AbstractTestElement implements Serializable
JMS Property with type
Since:
2.11
See Also:
  • Field Details

  • Constructor Details

    • JMSProperty

      public JMSProperty()
      Create a new JmsProperty without a name, value, or metadata.
    • JMSProperty

      public JMSProperty(String name, String value)
      Create a new JmsProperty with the specified name and value, and String type.
      Parameters:
      name - the prop name
      value - the prop value
    • JMSProperty

      public JMSProperty(String name, String value, String type)
      Create a new JmsProperty with the specified name and value, and String type.
      Parameters:
      name - the prop name
      value - the prop value
      type - the type type
  • Method Details

    • setName

      public void setName(String newName)
      Set the name of the JmsProperty.
      Specified by:
      setName in interface org.apache.jmeter.testelement.TestElement
      Overrides:
      setName in class AbstractTestElement
      Parameters:
      newName - the new name
    • getName

      public String getName()
      Get the name of the JmsProperty.
      Specified by:
      getName in interface org.apache.jmeter.testelement.TestElement
      Overrides:
      getName in class AbstractTestElement
      Returns:
      the attribute's name
    • setValue

      public void setValue(String newValue)
      Sets the value of the JmsProperty.
      Parameters:
      newValue - the new value
    • getValue

      public String getValue()
      Gets the value of the JmsProperty object.
      Returns:
      the attribute's value
    • setType

      public void setType(String type)
      Sets the Meta Data attribute of the JmsProperty.
      Parameters:
      type - the new type
    • getType

      public String getType()
      Gets the Meta Data attribute of the JmsProperty.
      Returns:
      the MetaData value
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getValueAsObject

      public Object getValueAsObject()