public class CrowdPropertiesPersisterImpl extends Object implements CrowdPropertiesPersister
Constructor and Description |
---|
CrowdPropertiesPersisterImpl(File configurationDirectory) |
Modifier and Type | Method and Description |
---|---|
File |
getLocation() |
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(@NotNull 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(@NotNull String propertyName)
isWritable
in interface CrowdPropertiesPersister
propertyName
- property to check@NotNull public File getLocation()
getLocation
in interface CrowdPropertiesPersister
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.