public class CrowdPropertiesPersisterImpl extends Object implements CrowdPropertiesPersister
Constructor and Description |
---|
CrowdPropertiesPersisterImpl(File configurationDirectory) |
Modifier and Type | Method and Description |
---|---|
Properties |
getProperties()
Returns active Crowd properties.
|
boolean |
isWritable(String propertyName)
True if the property is not overriden by system properties or environment variables.
|
void |
setProperties(Properties properties)
Sets Crowd properties.
|
public CrowdPropertiesPersisterImpl(File configurationDirectory) throws IOException
IOException
public Properties getProperties()
CrowdPropertiesPersister
getProperties
in interface CrowdPropertiesPersister
public void setProperties(Properties properties) throws IOException
CrowdPropertiesPersister
Properties that are not writable will not be changed.
setProperties
in interface CrowdPropertiesPersister
properties
- properties to setIOException
- if the properties could not be setpublic boolean isWritable(String propertyName)
isWritable
in interface CrowdPropertiesPersister
propertyName
- property to checkCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.