|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.module.propertyset.AbstractPropertySet
com.atlassian.confluence.user.providers.jira.ConditionalPropertySet
public class ConditionalPropertySet
Responsible for delegating to either one of two PropertySets based on key prefix.
| Field Summary |
|---|
| Fields inherited from class com.opensymphony.module.propertyset.AbstractPropertySet |
|---|
schema |
| Fields inherited from interface com.opensymphony.module.propertyset.PropertySet |
|---|
BOOLEAN, DATA, DATE, DOUBLE, INT, LONG, OBJECT, PROPERTIES, STRING, TEXT, XML |
| Constructor Summary | |
|---|---|
ConditionalPropertySet()
|
|
| Method Summary | |
|---|---|
protected boolean |
conditionPasses(java.lang.String key)
|
boolean |
exists(java.lang.String key)
|
protected java.lang.Object |
get(int type,
java.lang.String key)
|
java.util.Collection |
getKeys(java.lang.String prefix,
int type)
Gets keys from default and conditional PS's |
protected com.opensymphony.module.propertyset.PropertySet |
getRelevantPS(java.lang.String key)
|
int |
getType(java.lang.String key)
|
void |
init(java.util.Map config,
java.util.Map args)
|
void |
remove(java.lang.String key)
|
protected void |
setImpl(int type,
java.lang.String key,
java.lang.Object value)
|
| Methods inherited from class com.opensymphony.module.propertyset.AbstractPropertySet |
|---|
getAsActualType, getBoolean, getData, getDate, getDouble, getInt, getKeys, getKeys, getKeys, getLong, getObject, getProperties, getSchema, getString, getText, getXML, isSettable, setAsActualType, setBoolean, setData, setDate, setDouble, setInt, setLong, setObject, setProperties, setSchema, setString, setText, setXML, supportsType, supportsTypes, toString, type, type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConditionalPropertySet()
| Method Detail |
|---|
public void init(java.util.Map config,
java.util.Map args)
init in interface com.opensymphony.module.propertyset.PropertySetinit in class com.opensymphony.module.propertyset.AbstractPropertySet
public java.util.Collection getKeys(java.lang.String prefix,
int type)
throws com.opensymphony.module.propertyset.PropertyException
getKeys in interface com.opensymphony.module.propertyset.PropertySetgetKeys in class com.opensymphony.module.propertyset.AbstractPropertySetprefix - type -
com.opensymphony.module.propertyset.PropertyException
public int getType(java.lang.String key)
throws com.opensymphony.module.propertyset.PropertyException
getType in interface com.opensymphony.module.propertyset.PropertySetgetType in class com.opensymphony.module.propertyset.AbstractPropertySetcom.opensymphony.module.propertyset.PropertyException
public boolean exists(java.lang.String key)
throws com.opensymphony.module.propertyset.PropertyException
exists in interface com.opensymphony.module.propertyset.PropertySetexists in class com.opensymphony.module.propertyset.AbstractPropertySetcom.opensymphony.module.propertyset.PropertyException
public void remove(java.lang.String key)
throws com.opensymphony.module.propertyset.PropertyException
remove in interface com.opensymphony.module.propertyset.PropertySetremove in class com.opensymphony.module.propertyset.AbstractPropertySetcom.opensymphony.module.propertyset.PropertyException
protected void setImpl(int type,
java.lang.String key,
java.lang.Object value)
throws com.opensymphony.module.propertyset.PropertyException
setImpl in class com.opensymphony.module.propertyset.AbstractPropertySetcom.opensymphony.module.propertyset.PropertyException
protected java.lang.Object get(int type,
java.lang.String key)
throws com.opensymphony.module.propertyset.PropertyException
get in class com.opensymphony.module.propertyset.AbstractPropertySetcom.opensymphony.module.propertyset.PropertyExceptionprotected com.opensymphony.module.propertyset.PropertySet getRelevantPS(java.lang.String key)
protected boolean conditionPasses(java.lang.String key)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||