com.atlassian.crowd.integration.atlassianuser
Class CrowdPropertiesPersisterImpl
java.lang.Object
com.atlassian.crowd.integration.atlassianuser.CrowdPropertiesPersisterImpl
- All Implemented Interfaces:
- CrowdPropertiesPersister
public class CrowdPropertiesPersisterImpl
- extends Object
- implements CrowdPropertiesPersister
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrowdPropertiesPersisterImpl
public CrowdPropertiesPersisterImpl(File configurationDirectory)
throws IOException
- Throws:
IOException
getProperties
public Properties getProperties()
- Description copied from interface:
CrowdPropertiesPersister
- Returns active Crowd properties.
- Specified by:
getProperties
in interface CrowdPropertiesPersister
- Returns:
- active Crowd properties
setProperties
public void setProperties(Properties properties)
throws IOException
- Description copied from interface:
CrowdPropertiesPersister
- Sets Crowd properties.
Properties that are not writable will not be changed.
- Specified by:
setProperties
in interface CrowdPropertiesPersister
- Parameters:
properties
- properties to set
- Throws:
IOException
- if the properties could not be set
isWritable
public boolean isWritable(String propertyName)
- True if the property is not overriden by system properties or environment variables.
- Specified by:
isWritable
in interface CrowdPropertiesPersister
- Parameters:
propertyName
- property to check
- Returns:
- true if the property is not overriden by system properties or environment variables.
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.