|
||||||||||
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. |
String |
getPassword()
|
String |
getRelativePath(ScmProviderRepository ancestor)
Get the relative path between the repository provided as argument and the current repository. |
String |
getUser()
|
boolean |
isPersistCheckout()
Will checkouts using this repository be persisted so they can be refreshed in the future? |
boolean |
isPushChanges()
Should distributed changes be pushed to the central repository? |
void |
setPassword(String password)
Set the password. |
void |
setPersistCheckout(boolean persistCheckout)
|
void |
setPushChanges(boolean pushChanges)
|
void |
setUser(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 String getUser()
public void setUser(String user)
user
- The userpublic String getPassword()
public void setPassword(String password)
password
- The user passwordpublic boolean isPushChanges()
public void setPushChanges(boolean pushChanges)
pushChanges
- public 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.
UnsupportedOperationException
- unless overridden by subclasspublic String getRelativePath(ScmProviderRepository ancestor)
ancestor
- another repository that should be ancestor of this one
null
if it can't be resolved
UnsupportedOperationException
- unless overridden by subclass
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |