org.criticalsection.maven.scm.provider.monotone
Class DefaultMonotoneSettingsProvider

java.lang.Object
  extended by 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:

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

Field Summary
 
Fields inherited from interface org.criticalsection.maven.scm.provider.monotone.MonotoneSettingsProvider
CONFIG_DIR_PROPERTY, DATABASE_PROPERTY, KEY_PROPERTY, KEYRING_DIR_PROPERTY, ROLE
 
Constructor Summary
DefaultMonotoneSettingsProvider()
           
 
Method Summary
 java.lang.String getConfigDirectory()
           
 java.lang.String getDatabase()
           
 java.lang.String getKey()
           
 java.lang.String getKeyringDirectory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMonotoneSettingsProvider

public DefaultMonotoneSettingsProvider()
Method Detail

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.