Class SubConfiguration

  • All Implemented Interfaces:

    
    public class SubConfiguration
    
                        

    The class SubConfiguration describes a sub configuration item

    Since:

    3.0

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Map<String, String> getProperties() Gets the properties of the item.
      final <TProperty> TProperty getProperty(String key, TProperty defaultValue, 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

        SubConfiguration()
    • Method Detail

      • getProperty

         final <TProperty> TProperty getProperty(String key, TProperty defaultValue, Class<TProperty> clazz)

        Gets the value of the specified 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