Logo Search packages:      
Sourcecode: jakarta-jmeter version File versions  Download package

void org::apache::jmeter::testelement::AbstractTestElement::setProperty ( String  name,
boolean  value,
boolean  dflt 
) [inline, inherited]

Create a boolean property - but only if it is not the default. This is intended for use when adding new properties to JMeter so that JMX files are not expanded unnecessarily.

N.B. - must agree with the default applied when reading the property.

name property name
value current value
dflt default

Definition at line 308 of file AbstractTestElement.java.

        if (value == dflt) {
        } else {
            setProperty(new BooleanProperty(name, value));

Generated by  Doxygen 1.6.0   Back to index