org.apache.jmeter.report.config

## Class SubConfiguration

- java.lang.Object
- - org.apache.jmeter.report.config.SubConfiguration

- Direct Known Subclasses:
    InstanceConfiguration

      public class SubConfiguration
      extends java.lang.Object

  The class SubConfiguration describes a sub configuration item
  Since:
    3.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SubConfiguration()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Map<java.lang.String,java.lang.String>` | `getProperties()` Gets the properties of the item.
    `<TProperty> TProperty` | `getProperty(java.lang.String key, TProperty defaultValue, java.lang.Class<TProperty> clazz)` Gets the value of the specified property.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SubConfiguration

          public SubConfiguration()

  - ### Method Detail

    - #### getProperties

          public final java.util.Map<java.lang.String,java.lang.String> getProperties()

      Gets the properties of the item.
      Returns:
        the properties of the item

    - #### getProperty

          public final <TProperty> TProperty getProperty(java.lang.String key,
                                                         TProperty defaultValue,
                                                         java.lang.Class<TProperty> clazz)
                                                  throws ConfigurationException

      Gets the value of the specified property.
      Type Parameters:
        `TProperty` - the type of the property
      Parameters:
        `key` - the key identifier of the property
        `defaultValue` - the default value of the property
        `clazz` - the class of the property
      Returns:
        the value of property if found; defaultValue otherwise
      Throws:
        `ConfigurationException` - if cannot convert property

Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.