Class BooleanPropertyDescriptor
-
- All Implemented Interfaces:
-
java.io.Serializable
,org.apache.jmeter.testelement.schema.PropertyDescriptor
@API(status = API.Status.EXPERIMENTAL, since = "5.6") public final class BooleanPropertyDescriptor<Schema extends BaseTestElementSchema> implements PropertyDescriptor<Schema, Boolean>
Describes a BooleanProperty: name, default value, and provides accessors for properties. Use BaseTestElementSchema.boolean or BaseTestElementSchema.booleanDescriptor for building the property descriptors.
- Since:
5.6
-
-
Field Summary
Fields Modifier and Type Field Description private final String
shortName
private final String
name
private final Boolean
defaultValue
private final String
defaultValueAsString
private final StringPropertyDescriptor<Schema>
asString
-
Constructor Summary
Constructors Constructor Description BooleanPropertyDescriptor(String shortName, String name, Boolean defaultValue)
-
Method Summary
Modifier and Type Method Description String
getShortName()
String
getName()
Boolean
getDefaultValue()
final Boolean
get(TestElement target)
final Unit
set(TestElement target, Boolean value)
-
-
Method Detail
-
getShortName
String getShortName()
-
getDefaultValue
Boolean getDefaultValue()
-
get
final Boolean get(TestElement target)
-
set
final Unit set(TestElement target, Boolean value)
-
-
-
-