public class ConditionalPropertySet
extends com.opensymphony.module.propertyset.AbstractPropertySet
Constructor and Description |
---|
ConditionalPropertySet() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
conditionPasses(String key) |
boolean |
exists(String key) |
protected Object |
get(int type,
String key) |
Collection |
getKeys(String prefix,
int type)
Gets keys from default and conditional PS's
|
protected com.opensymphony.module.propertyset.PropertySet |
getRelevantPS(String key) |
int |
getType(String key) |
void |
init(Map config,
Map args) |
void |
remove(String key) |
protected void |
setImpl(int type,
String key,
Object value) |
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
public void init(Map config, Map args)
init
in interface com.opensymphony.module.propertyset.PropertySet
init
in class com.opensymphony.module.propertyset.AbstractPropertySet
public Collection getKeys(String prefix, int type) throws com.opensymphony.module.propertyset.PropertyException
getKeys
in interface com.opensymphony.module.propertyset.PropertySet
getKeys
in class com.opensymphony.module.propertyset.AbstractPropertySet
com.opensymphony.module.propertyset.PropertyException
public int getType(String key) throws com.opensymphony.module.propertyset.PropertyException
getType
in interface com.opensymphony.module.propertyset.PropertySet
getType
in class com.opensymphony.module.propertyset.AbstractPropertySet
com.opensymphony.module.propertyset.PropertyException
public boolean exists(String key) throws com.opensymphony.module.propertyset.PropertyException
exists
in interface com.opensymphony.module.propertyset.PropertySet
exists
in class com.opensymphony.module.propertyset.AbstractPropertySet
com.opensymphony.module.propertyset.PropertyException
public void remove(String key) throws com.opensymphony.module.propertyset.PropertyException
remove
in interface com.opensymphony.module.propertyset.PropertySet
remove
in class com.opensymphony.module.propertyset.AbstractPropertySet
com.opensymphony.module.propertyset.PropertyException
protected void setImpl(int type, String key, Object value) throws com.opensymphony.module.propertyset.PropertyException
setImpl
in class com.opensymphony.module.propertyset.AbstractPropertySet
com.opensymphony.module.propertyset.PropertyException
protected Object get(int type, String key) throws com.opensymphony.module.propertyset.PropertyException
get
in class com.opensymphony.module.propertyset.AbstractPropertySet
com.opensymphony.module.propertyset.PropertyException
protected com.opensymphony.module.propertyset.PropertySet getRelevantPS(String key)
protected boolean conditionPasses(String key)
Copyright © 2003–2017 Atlassian. All rights reserved.