org.apache.maven.scm.provider

Class ScmProviderRepository

public abstract class ScmProviderRepository extends Object

Version: $Id: ScmProviderRepository.java 372209 2006-01-25 13:30:01Z evenisse $

Author: Trygve Laugstøl Emmanuel Venisse

Method Summary
StringgetPassword()
StringgetUser()
booleanisPersistCheckout()
Will checkouts using this repository be persisted so they can be refreshed in the future?
voidsetPassword(String password)
Set the password.
voidsetPersistCheckout(boolean persistCheckout)
voidsetUser(String user)
Set the user.

Method Detail

getPassword

public String getPassword()

Returns: The password.

getUser

public String getUser()

Returns: The user.

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.

setPassword

public void setPassword(String password)
Set the password.

Parameters: password The user password

setPersistCheckout

public void setPersistCheckout(boolean persistCheckout)

setUser

public void setUser(String user)
Set the user.

Parameters: user The user

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