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
JMS Property with type
- Since:
- 2.11
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.jmeter.testelement.TestElement
org.apache.jmeter.testelement.TestElement.Companion -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName used to store the JmsProperty's name.static final StringName used to store the JmsProperty's description.static final StringName used to store the JmsProperty's value.Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, Companion, ENABLED, GUI_CLASS, NAME, TEST_CLASS -
Constructor Summary
ConstructorsConstructorDescriptionCreate 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
Modifier and TypeMethodDescriptiongetName()Get the name of the JmsProperty.getType()Gets the Meta Data attribute of the JmsProperty.getValue()Gets the value of the JmsProperty object.voidSet the name of the JmsProperty.voidSets the Meta Data attribute of the JmsProperty.voidSets the value of the JmsProperty.toString()Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getPropertyOrNull, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traversePropertyMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.jmeter.testelement.TestElement
get, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getPropertyOrNull, getProps, getSchema, getString, removed, removeProperty, set, set, set, set, set, set, set, set, set
-
Field Details
-
PROP_NAME
Name used to store the JmsProperty's name.- See Also:
-
PROP_VALUE
Name used to store the JmsProperty's value.- See Also:
-
PROP_TYPE
Name used to store the JmsProperty's description.- See Also:
-
-
Constructor Details
-
JMSProperty
public JMSProperty()Create a new JmsProperty without a name, value, or metadata. -
JMSProperty
Create a new JmsProperty with the specified name and value, and String type.- Parameters:
name- the prop namevalue- the prop value
-
JMSProperty
Create a new JmsProperty with the specified name and value, and String type.- Parameters:
name- the prop namevalue- the prop valuetype- the type type
-
-
Method Details
-
setName
Set the name of the JmsProperty.- Specified by:
setNamein interfaceorg.apache.jmeter.testelement.TestElement- Overrides:
setNamein classAbstractTestElement- Parameters:
newName- the new name
-
getName
Get the name of the JmsProperty.- Specified by:
getNamein interfaceorg.apache.jmeter.testelement.TestElement- Overrides:
getNamein classAbstractTestElement- Returns:
- the attribute's name
-
setValue
Sets the value of the JmsProperty.- Parameters:
newValue- the new value
-
getValue
Gets the value of the JmsProperty object.- Returns:
- the attribute's value
-
setType
Sets the Meta Data attribute of the JmsProperty.- Parameters:
type- the new type
-
getType
Gets the Meta Data attribute of the JmsProperty.- Returns:
- the MetaData value
-
toString
-
getValueAsObject
-