|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.scm.provider.ScmProviderRepository
public abstract class ScmProviderRepository
Constructor Summary | |
---|---|
ScmProviderRepository()
|
Method Summary | |
---|---|
ScmProviderRepository |
getParent()
Get a ScmProviderRepository that represents the parent folder in the repository. |
java.lang.String |
getPassword()
|
java.lang.String |
getRelativePath(ScmProviderRepository ancestor)
Get the relative path between the repository provided as argument and the current repository. |
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 |
---|
public ScmProviderRepository()
Method Detail |
---|
public java.lang.String getUser()
public void setUser(java.lang.String user)
user
- The userpublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- The user passwordpublic boolean isPersistCheckout()
public void setPersistCheckout(boolean persistCheckout)
public ScmProviderRepository getParent()
ScmProviderRepository
that represents the parent folder in the repository.
Useful when the repository does not exist yet and we need to create it from the parent.
java.lang.UnsupportedOperationException
- unless overridden by subclasspublic java.lang.String getRelativePath(ScmProviderRepository ancestor)
ancestor
- another repository that should be ancestor of this one
null
if it can't be resolved
java.lang.UnsupportedOperationException
- unless overridden by subclass
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |