org.apache.maven.scm.provider
Class ScmProviderRepository

java.lang.Object
  extended byorg.apache.maven.scm.provider.ScmProviderRepository
Direct Known Subclasses:
ScmProviderRepositoryWithHost

public abstract class ScmProviderRepository
extends java.lang.Object

Version:
$Id: ScmProviderRepository.java 372209 2006-01-25 13:30:01Z evenisse $
Author:
Trygve Laugstøl, Emmanuel Venisse

Constructor Summary
ScmProviderRepository()
           
 
Method Summary
 java.lang.String getPassword()
           
 java.lang.String getUser()
           
 boolean isPersistCheckout()
          Will checkouts using this repository be persisted so they can be refreshed in the future? This property is of concern to SCMs like Perforce and Clearcase where the server must track where a user checks out to.
 void setPassword(java.lang.String password)
          Set the password.
 void setPersistCheckout(boolean persistCheckout)
           
 void setUser(java.lang.String user)
          Set the user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScmProviderRepository

public ScmProviderRepository()
Method Detail

getUser

public java.lang.String getUser()
Returns:
The user.

setUser

public void setUser(java.lang.String user)
Set the user.

Parameters:
user - The user

getPassword

public java.lang.String getPassword()
Returns:
The password.

setPassword

public void setPassword(java.lang.String password)
Set the password.

Parameters:
password - The user password

isPersistCheckout

public boolean isPersistCheckout()
Will checkouts using this repository be persisted so they can be refreshed in the future? This property is of concern to SCMs like Perforce and Clearcase where the server must track where a user checks out to. If false, the server entry (clientspec in Perforce terminology) will be deleted after the checkout is complete so the files will not be able to be updated.

This setting can be overriden by using the system property "maven.scm.persistcheckout" to true.

The default is false. See SCM-113 for more detail.


setPersistCheckout

public void setPersistCheckout(boolean persistCheckout)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.