Package org.apache.jmeter.testbeans
Class TestBeanHelper
- java.lang.Object
-
- org.apache.jmeter.testbeans.TestBeanHelper
-
public class TestBeanHelper extends Object
This is an experimental class. An attempt to address the complexity of writing new JMeter components.TestBean currently extends AbstractTestElement to support backward-compatibility, but the property-value-map may later on be separated from the test beans themselves. To ensure this will be doable with minimum damage, all inherited methods are deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description protected static Loggerlog
-
Constructor Summary
Constructors Constructor Description TestBeanHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanisDescriptorIgnored(PropertyDescriptor descriptor)Checks whether the descriptor should be ignored, i.e.static voidprepare(TestElement el)Deprecated.to limit it's usage in expectation of moving it elsewhere.
-
-
-
Method Detail
-
prepare
@Deprecated public static void prepare(TestElement el)
Deprecated.to limit it's usage in expectation of moving it elsewhere.Prepare the bean for work by populating the bean's properties from the property value map.- Parameters:
el- the TestElement to be prepared
-
isDescriptorIgnored
public static boolean isDescriptorIgnored(PropertyDescriptor descriptor)
Checks whether the descriptor should be ignored, i.e.- isHidden
- isExpert and JMeter not using expert mode
- no read method
- no write method
- Parameters:
descriptor- thePropertyDescriptorto be checked- Returns:
trueif the descriptor should be ignored
-
-