org.criticalsection.maven.scm.provider.monotone
Class DefaultMonotoneSettingsProvider
java.lang.Object
org.criticalsection.maven.scm.provider.monotone.DefaultMonotoneSettingsProvider
- All Implemented Interfaces:
- MonotoneSettingsProvider
public class DefaultMonotoneSettingsProvider
- extends java.lang.Object
- implements MonotoneSettingsProvider
The standard implementation of the settings provider for this scm provider.
This implementaion gathers the configuration options from different places with a defined priority.
The available places for specifying configuration options are:
Via system properties.
- In a file monotone-settings.xml located in the ~/.m2 directory
- gathered automatically from a _MTN/options file.
If an option is specified in more than one place, the place with the highest priority takes
precedence. The places are ordered in descending priority in the above list.
- Author:
- Tim Kettler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMonotoneSettingsProvider
public DefaultMonotoneSettingsProvider()
getConfigDirectory
public java.lang.String getConfigDirectory()
- Specified by:
getConfigDirectory in interface MonotoneSettingsProvider
getKeyringDirectory
public java.lang.String getKeyringDirectory()
- Specified by:
getKeyringDirectory in interface MonotoneSettingsProvider
getDatabase
public java.lang.String getDatabase()
throws org.apache.maven.scm.repository.ScmRepositoryException
- Specified by:
getDatabase in interface MonotoneSettingsProvider
- Throws:
org.apache.maven.scm.repository.ScmRepositoryException
getKey
public java.lang.String getKey()
throws org.apache.maven.scm.repository.ScmRepositoryException
- Specified by:
getKey in interface MonotoneSettingsProvider
- Throws:
org.apache.maven.scm.repository.ScmRepositoryException
Copyright © 2008 CriticalSection.Org. All Rights Reserved.