public class

ConditionalPropertySet

extends AbstractPropertySet
java.lang.Object
   ↳ com.opensymphony.module.propertyset.AbstractPropertySet
     ↳ com.atlassian.confluence.user.providers.jira.ConditionalPropertySet

Class Overview

Responsible for delegating to either one of two PropertySets based on key prefix.

Summary

[Expand]
Inherited Constants
From interface com.opensymphony.module.propertyset.PropertySet
[Expand]
Inherited Fields
From class com.opensymphony.module.propertyset.AbstractPropertySet
Public Constructors
ConditionalPropertySet()
Public Methods
boolean exists(String key)
Collection getKeys(String prefix, int type)
Gets keys from default and conditional PS's
int getType(String key)
void init(Map config, Map args)
void remove(String key)
Protected Methods
boolean conditionPasses(String key)
Object get(int type, String key)
PropertySet getRelevantPS(String key)
void setImpl(int type, String key, Object value)
[Expand]
Inherited Methods
From class com.opensymphony.module.propertyset.AbstractPropertySet
From class java.lang.Object
From interface com.opensymphony.module.propertyset.PropertySet

Public Constructors

public ConditionalPropertySet ()

Public Methods

public boolean exists (String key)

Throws
PropertyException

public Collection getKeys (String prefix, int type)

Gets keys from default and conditional PS's

Throws
PropertyException

public int getType (String key)

Throws
PropertyException

public void init (Map config, Map args)

public void remove (String key)

Throws
PropertyException

Protected Methods

protected boolean conditionPasses (String key)

protected Object get (int type, String key)

Throws
PropertyException

protected PropertySet getRelevantPS (String key)

protected void setImpl (int type, String key, Object value)

Throws
PropertyException