public class AccuRevScmProviderRepository extends ScmProviderRepositoryWithHost
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_TAG_FORMAT |
Constructor and Description |
---|
AccuRevScmProviderRepository() |
Modifier and Type | Method and Description |
---|---|
static String |
formatTimeSpec(Date when) |
AccuRev |
getAccuRev() |
AccuRevVersion |
getAccuRevVersion(ScmVersion scmVersion) |
String |
getCheckoutRelativePath()
The relative path of the directory of the checked out project in comparison to the checkout directory, or an
empty String in case the checkout directory equals the project directory.
|
String |
getDepotRelativeProjectPath() |
Transaction |
getDepotTransaction(String stream,
String tranSpec) |
String |
getDepotTransactionId(String stream,
String tranSpec) |
String |
getExportRelativePath()
Relative project path for export
|
String |
getProjectPath() |
String |
getRevision(String streamName,
Date date) |
String |
getRevision(String stream,
long fromTranId) |
String |
getRevision(String streamName,
String transaction) |
String |
getSnapshotName(String tagName) |
String |
getStreamName() |
String |
getTagFormat() |
String |
getWorkSpaceRevision(String workspace) |
boolean |
isWorkSpaceRoot(AccuRevInfo info) |
boolean |
isWorkSpaceTop(AccuRevInfo info) |
void |
setAccuRev(AccuRev accurev) |
void |
setCheckoutRelativePath(String checkoutRelativePath) |
void |
setLogger(ScmLogger logger) |
void |
setProjectPath(String projectPath) |
void |
setShouldUseExportForNonPersistentCheckout(boolean shouldUseExportForNonPersistentCheckout) |
void |
setStreamName(String streamName) |
void |
setTagFormat(String tagFormat) |
boolean |
shouldUseExportForNonPersistentCheckout()
When checkout is not expected to be refreshed or committed, should export be used instead? Perforce, Clearcase
and AccuRev store their meta-data about file status within the server rather than files in the source tree.
|
String |
toString() |
getHost, getPassphrase, getPort, getPrivateKey, setHost, setPassphrase, setPort, setPrivateKey
getParent, getPassword, getRelativePath, getUser, isPersistCheckout, isPushChanges, setPassword, setPersistCheckout, setPushChanges, setUser
public static final String DEFAULT_TAG_FORMAT
public AccuRevScmProviderRepository()
public String getTagFormat()
public void setTagFormat(String tagFormat)
public String getStreamName()
public void setStreamName(String streamName)
public String getProjectPath()
public void setProjectPath(String projectPath)
public AccuRev getAccuRev()
public void setAccuRev(AccuRev accurev)
public boolean isWorkSpaceRoot(AccuRevInfo info)
info
- public boolean isWorkSpaceTop(AccuRevInfo info)
public String getCheckoutRelativePath()
public void setCheckoutRelativePath(String checkoutRelativePath)
public String getExportRelativePath()
getCheckoutRelativePath()
public boolean shouldUseExportForNonPersistentCheckout()
public void setShouldUseExportForNonPersistentCheckout(boolean shouldUseExportForNonPersistentCheckout)
public String getDepotRelativeProjectPath()
public AccuRevVersion getAccuRevVersion(ScmVersion scmVersion)
public String getSnapshotName(String tagName)
public String getRevision(String streamName, Date date)
public String getRevision(String stream, long fromTranId)
public String getRevision(String streamName, String transaction)
public String getWorkSpaceRevision(String workspace) throws AccuRevException
AccuRevException
public Transaction getDepotTransaction(String stream, String tranSpec) throws AccuRevException
AccuRevException
public String getDepotTransactionId(String stream, String tranSpec) throws AccuRevException
AccuRevException
public static String formatTimeSpec(Date when)
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.