public class CrowdPropertiesPersisterImpl extends Object implements CrowdPropertiesPersister
Constructor and Description |
---|
CrowdPropertiesPersisterImpl(File configurationDirectory) |
Modifier and Type | Method and Description |
---|---|
@NotNull File |
getLocation() |
Properties |
getProperties()
Returns active Crowd properties.
|
boolean |
isWritable(@NotNull String propertyName)
True if the property is not overriden by system properties or environment variables.
|
void |
setProperties(@NotNull Properties properties)
Sets Crowd properties.
|
public CrowdPropertiesPersisterImpl(File configurationDirectory) throws IOException
IOException
public Properties getProperties()
CrowdPropertiesPersister
getProperties
in interface CrowdPropertiesPersister
public void setProperties(@NotNull @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 @NotNull String propertyName)
isWritable
in interface CrowdPropertiesPersister
propertyName
- property to check@NotNull public @NotNull File getLocation()
getLocation
in interface CrowdPropertiesPersister
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.