public abstract class ScmProviderRepository extends Object
Constructor and Description |
---|
ScmProviderRepository() |
Modifier and Type | Method and Description |
---|---|
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() |
String |
getWorkItem() |
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.
|
void |
setWorkItem(String workItem)
Set the workItem.
|
public ScmProviderRepository()
public String getPassword()
public void setPassword(String password)
password
- The user passwordpublic boolean isPushChanges()
public void setPushChanges(boolean pushChanges)
pushChanges
- public String getWorkItem()
public void setWorkItem(String workItem)
user
- The workItem.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 onenull
if it can't be resolvedUnsupportedOperationException
- unless overridden by subclassCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.