Class ExtensionWrapper

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.Class<? extends Assignable> extension  
      (package private) java.lang.String implementingClassName  
      (package private) java.util.Map<java.lang.String,​java.lang.String> properties  
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtensionWrapper​(java.lang.String implementingClassName, java.util.Map<java.lang.String,​java.lang.String> properties, java.lang.Class<? extends Assignable> extension)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getProperty​(java.lang.String key)
      Gets the value for the given key in the properties map.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • properties

        final java.util.Map<java.lang.String,​java.lang.String> properties
      • implementingClassName

        final java.lang.String implementingClassName
      • extension

        final java.lang.Class<? extends Assignable> extension
    • Constructor Detail

      • ExtensionWrapper

        public ExtensionWrapper​(java.lang.String implementingClassName,
                                java.util.Map<java.lang.String,​java.lang.String> properties,
                                java.lang.Class<? extends Assignable> extension)
    • Method Detail

      • getProperty

        public java.lang.String getProperty​(java.lang.String key)
        Gets the value for the given key in the properties map. If the property is not found, an exception is thrown.
        Parameters:
        key - the key to look up value for
        Returns:
        value of the property
        Throws:
        java.lang.RuntimeException - if the property is not found