public abstract class AbstractExtension extends java.lang.Object implements Extension
Constructor and Description |
---|
AbstractExtension() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getProperties()
Gets a list of all properties on the extension.
|
<T> T |
getPropertyValue(java.lang.String key)
Gets a property value of an extension.
|
<T> void |
setPropertyValue(java.lang.String key,
T value)
Sets a property on the extension.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deserialize, serialize
public <T> void setPropertyValue(java.lang.String key, T value) throws ExtensionPropertyException
Extension
setPropertyValue
in interface Extension
T
- class of the valuekey
- property keyvalue
- value to set for the given keyExtensionPropertyException
- if the given key is not a valid
property on this extensionpublic <T> T getPropertyValue(java.lang.String key) throws ExtensionPropertyException
Extension
getPropertyValue
in interface Extension
T
- class of the valuekey
- property keyExtensionPropertyException
- if the given key is not a valid
property on this extensionpublic java.util.List<java.lang.String> getProperties()
Extension
getProperties
in interface Extension