Package com.atlassian.confluence.user
Class DebugLoggingPropertySet
java.lang.Object
com.atlassian.confluence.user.DebugLoggingPropertySet
- All Implemented Interfaces:
com.opensymphony.module.propertyset.PropertySet,Serializable
public final class DebugLoggingPropertySet
extends Object
implements com.opensymphony.module.propertyset.PropertySet, Serializable
Adds debug logging when accessing the wrapped
PropertySet.- See Also:
-
Field Summary
Fields inherited from interface com.opensymphony.module.propertyset.PropertySet
BOOLEAN, DATA, DATE, DOUBLE, INT, LONG, OBJECT, PROPERTIES, STRING, TEXT, XML -
Constructor Summary
ConstructorsConstructorDescriptionDebugLoggingPropertySet(com.opensymphony.module.propertyset.PropertySet delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAsActualType(String key) booleangetBoolean(String key) byte[]doubleintgetKeys()getKeys(int type) longgetProperties(String key) com.opensymphony.module.propertyset.PropertySetSchemaintvoidbooleanisSettable(String property) voidvoidsetAsActualType(String key, Object value) voidsetBoolean(String key, boolean value) voidvoidvoidvoidvoidvoidvoidsetProperties(String key, Properties value) voidsetSchema(com.opensymphony.module.propertyset.PropertySetSchema schema) voidvoidvoidbooleansupportsType(int type) booleantoString()
-
Constructor Details
-
DebugLoggingPropertySet
public DebugLoggingPropertySet(com.opensymphony.module.propertyset.PropertySet delegate)
-
-
Method Details
-
setSchema
public void setSchema(com.opensymphony.module.propertyset.PropertySetSchema schema) throws com.opensymphony.module.propertyset.PropertyException - Specified by:
setSchemain interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getSchema
public com.opensymphony.module.propertyset.PropertySetSchema getSchema() throws com.opensymphony.module.propertyset.PropertyException- Specified by:
getSchemain interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setAsActualType
public void setAsActualType(String key, Object value) throws com.opensymphony.module.propertyset.PropertyException - Specified by:
setAsActualTypein interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getAsActualType
public Object getAsActualType(String key) throws com.opensymphony.module.propertyset.PropertyException - Specified by:
getAsActualTypein interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setBoolean
public void setBoolean(String key, boolean value) throws com.opensymphony.module.propertyset.PropertyException - Specified by:
setBooleanin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getBoolean
- Specified by:
getBooleanin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setData
public void setData(String key, byte[] value) throws com.opensymphony.module.propertyset.PropertyException - Specified by:
setDatain interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getData
- Specified by:
getDatain interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setDate
public void setDate(String key, Date value) throws com.opensymphony.module.propertyset.PropertyException - Specified by:
setDatein interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getDate
- Specified by:
getDatein interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setDouble
public void setDouble(String key, double value) throws com.opensymphony.module.propertyset.PropertyException - Specified by:
setDoublein interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getDouble
- Specified by:
getDoublein interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setInt
public void setInt(String key, int value) throws com.opensymphony.module.propertyset.PropertyException - Specified by:
setIntin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getInt
- Specified by:
getIntin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getKeys
- Specified by:
getKeysin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getKeys
- Specified by:
getKeysin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getKeys
public Collection getKeys(String prefix) throws com.opensymphony.module.propertyset.PropertyException - Specified by:
getKeysin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getKeys
public Collection getKeys(String prefix, int type) throws com.opensymphony.module.propertyset.PropertyException - Specified by:
getKeysin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setLong
public void setLong(String key, long value) throws com.opensymphony.module.propertyset.PropertyException - Specified by:
setLongin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getLong
- Specified by:
getLongin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setObject
public void setObject(String key, Object value) throws com.opensymphony.module.propertyset.PropertyException - Specified by:
setObjectin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getObject
- Specified by:
getObjectin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setProperties
public void setProperties(String key, Properties value) throws com.opensymphony.module.propertyset.PropertyException - Specified by:
setPropertiesin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getProperties
public Properties getProperties(String key) throws com.opensymphony.module.propertyset.PropertyException - Specified by:
getPropertiesin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
isSettable
- Specified by:
isSettablein interfacecom.opensymphony.module.propertyset.PropertySet
-
setString
public void setString(String key, String value) throws com.opensymphony.module.propertyset.PropertyException - Specified by:
setStringin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getString
- Specified by:
getStringin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setText
public void setText(String key, String value) throws com.opensymphony.module.propertyset.PropertyException - Specified by:
setTextin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getText
- Specified by:
getTextin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getType
- Specified by:
getTypein interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
setXML
public void setXML(String key, Document value) throws com.opensymphony.module.propertyset.PropertyException - Specified by:
setXMLin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
getXML
- Specified by:
getXMLin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
exists
- Specified by:
existsin interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
init
- Specified by:
initin interfacecom.opensymphony.module.propertyset.PropertySet
-
remove
- Specified by:
removein interfacecom.opensymphony.module.propertyset.PropertySet- Throws:
com.opensymphony.module.propertyset.PropertyException
-
supportsType
public boolean supportsType(int type) - Specified by:
supportsTypein interfacecom.opensymphony.module.propertyset.PropertySet
-
supportsTypes
public boolean supportsTypes()- Specified by:
supportsTypesin interfacecom.opensymphony.module.propertyset.PropertySet
-
toString
-