com.atlassian.crowd.integration.atlassianuser
Class CrowdPropertiesPersisterImpl

java.lang.Object
  extended by com.atlassian.crowd.integration.atlassianuser.CrowdPropertiesPersisterImpl
All Implemented Interfaces:
CrowdPropertiesPersister

public class CrowdPropertiesPersisterImpl
extends java.lang.Object
implements CrowdPropertiesPersister


Constructor Summary
CrowdPropertiesPersisterImpl(java.io.File configurationDirectory)
           
 
Method Summary
 java.util.Properties getProperties()
          Returns active Crowd properties.
 boolean isWritable(java.lang.String propertyName)
          True if the property is not overriden by system properties or environment variables.
 void setProperties(java.util.Properties properties)
          Sets Crowd properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrowdPropertiesPersisterImpl

public CrowdPropertiesPersisterImpl(java.io.File configurationDirectory)
                             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getProperties

public java.util.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(java.util.Properties properties)
                   throws java.io.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:
java.io.IOException - if the properties could not be set

isWritable

public boolean isWritable(java.lang.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 © 2011 Atlassian. All Rights Reserved.