org.apache.maven.plugins.release.config
Class PropertiesReleaseConfigurationStore
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.plugins.release.config.PropertiesReleaseConfigurationStore
- All Implemented Interfaces:
- ReleaseConfigurationStore, org.codehaus.plexus.logging.LogEnabled
public class PropertiesReleaseConfigurationStore
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements ReleaseConfigurationStore
Read and write release configuration and state from a properties file.
- Author:
- Brett Porter
| Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesReleaseConfigurationStore
public PropertiesReleaseConfigurationStore()
read
public ReleaseConfiguration read(ReleaseConfiguration mergeConfiguration)
throws ReleaseConfigurationStoreException
- Description copied from interface:
ReleaseConfigurationStore
- Read a configuration.
- Specified by:
read in interface ReleaseConfigurationStore
- Parameters:
mergeConfiguration - configuration to merge with the loaded configuration. Some values are used as defaults,
while others are used to override
- Returns:
- the configuration
- Throws:
ReleaseConfigurationStoreException
read
public ReleaseConfiguration read(java.io.File file)
throws ReleaseConfigurationStoreException
- Throws:
ReleaseConfigurationStoreException
read
public ReleaseConfiguration read(ReleaseConfiguration mergeConfiguration,
java.io.File file)
throws ReleaseConfigurationStoreException
- Throws:
ReleaseConfigurationStoreException
write
public void write(ReleaseConfiguration config)
throws ReleaseConfigurationStoreException
- Description copied from interface:
ReleaseConfigurationStore
- Save a configuration.
- Specified by:
write in interface ReleaseConfigurationStore
- Parameters:
config - the configuration
- Throws:
ReleaseConfigurationStoreException
delete
public void delete(ReleaseConfiguration config)
- Description copied from interface:
ReleaseConfigurationStore
- Remove a configuration.
- Specified by:
delete in interface ReleaseConfigurationStore
- Parameters:
config - the location of the configuration
write
public void write(ReleaseConfiguration config,
java.io.File file)
throws ReleaseConfigurationStoreException
- Throws:
ReleaseConfigurationStoreException
Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.