Class MUCServiceProperties
- java.lang.Object
-
- org.jivesoftware.openfire.muc.spi.MUCServiceProperties
-
-
Constructor Summary
Constructors Constructor Description MUCServiceProperties(String subdomain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<String,String>>entrySet()Stringget(Object key)booleangetBooleanProperty(String name)booleangetBooleanProperty(String name, boolean defaultValue)Collection<String>getChildrenNames(String parentKey)Return all children property names of a parent property as a Collection of String objects.StringgetProperty(String name, String defaultValue)Collection<String>getPropertyNames()Returns all property names as a Collection of String values.booleanisEmpty()Set<String>keySet()Stringput(String key, String value)voidputAll(Map<? extends String,? extends String> t)Stringremove(Object key)intsize()Collection<String>values()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
MUCServiceProperties
public MUCServiceProperties(String subdomain)
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<String,String>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<String,String>
-
getChildrenNames
public Collection<String> getChildrenNames(String parentKey)
Return all children property names of a parent property as a Collection of String objects. For example, given the propertiesX.Y.A,X.Y.B, andX.Y.C, then the child properties ofX.YareX.Y.A,X.Y.B, andX.Y.C. The method is not recursive; ie, it does not return children of children.- Parameters:
parentKey- the name of the parent property.- Returns:
- all child property names for the given parent.
-
getPropertyNames
public Collection<String> getPropertyNames()
Returns all property names as a Collection of String values.- Returns:
- all property names.
-
getBooleanProperty
public boolean getBooleanProperty(String name)
-
getBooleanProperty
public boolean getBooleanProperty(String name, boolean defaultValue)
-
-