com.atlassian.crowd.integration.atlassianuser
Interface CrowdPropertiesPersister

All Known Implementing Classes:
CrowdPropertiesPersisterImpl

public interface CrowdPropertiesPersister


Method Summary
 java.util.Properties getProperties()
          Returns active Crowd properties.
 boolean isWritable(java.lang.String propertyName)
          Returns true if the property can be modified.
 void setProperties(java.util.Properties properties)
          Sets Crowd properties.
 

Method Detail

getProperties

java.util.Properties getProperties()
Returns active Crowd properties.

Returns:
active Crowd properties

setProperties

void setProperties(@NotNull
                   java.util.Properties properties)
                   throws java.io.IOException
Sets Crowd properties.

Properties that are not writable will not be changed.

Parameters:
properties - properties to set
Throws:
java.io.IOException - if the properties could not be set

isWritable

boolean isWritable(@NotNull
                   java.lang.String propertyName)
Returns true if the property can be modified.

Only properties that originate from crowd.properties in the configuration directory can be modified.

Parameters:
propertyName - property to check
Returns:
true if the property can be modified


Copyright © 2012 Atlassian. All Rights Reserved.