|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
com.atlassian.bamboo.repository.AbstractRepository
com.atlassian.bamboo.repository.AbstractStandaloneRepository
com.atlassian.bamboo.repository.svn.SvnRepository
public class SvnRepository
This class provides a Subversion repository for Bamboo.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.atlassian.bamboo.repository.CachingAwareRepository |
|---|
CachingAwareRepository.CachableOperation |
| Field Summary | |
|---|---|
static java.lang.String |
BRANCHES_DETECTION_BRANCHES_ROOT
|
static java.lang.String |
BRANCHES_DETECTION_BRANCHES_ROOT_OVERRIDDEN
|
static java.lang.String |
COMPLETE_PLUGIN_KEY
|
static org.tmatesoft.svn.core.wc.ISVNOptions |
DEFAULT_SVN_OPTIONS
|
protected EncryptionService |
encryptionService
|
static java.lang.String |
KEY
|
static java.lang.String |
NAME
|
static java.lang.String |
SVN_AUTH_TYPE
|
static java.lang.String |
SVN_KEYFILE
|
static java.lang.String |
SVN_PASSPHRASE
|
static java.lang.String |
SVN_PASSWORD
|
static java.lang.String |
SVN_REPO_PREFIX
|
static java.lang.String |
SVN_REPO_URL
|
static java.lang.String |
SVN_SSL_KEYFILE
|
static java.lang.String |
SVN_SSL_PASSPHRASE
|
static java.lang.String |
SVN_USERNAME
|
static java.lang.String |
TEMPORARY_SVN_PASSWORD
|
static java.lang.String |
TEMPORARY_SVN_REPO_PREFIX
|
| Fields inherited from class com.atlassian.bamboo.repository.AbstractRepository |
|---|
BUILD_TRIGGER_IP, buildDirectoryManager, buildLoggerManager, customVariableContext, featureManager, REPO_PREFIX, repositoryModuleDescriptor, templateRenderer, textProvider |
| Fields inherited from class com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin |
|---|
moduleDescriptor |
| Fields inherited from interface com.atlassian.bamboo.repository.CommitIsolationAwareRepository |
|---|
COMMIT_ISOLATION_OPTION |
| Fields inherited from interface com.atlassian.bamboo.repository.Repository |
|---|
SELECTED_REPOSITORY, UNKNOWN_HOST |
| Fields inherited from interface com.atlassian.bamboo.repository.IncludeExcludeAwareRepository |
|---|
FILTER_PATTERN_EXCLUDE, FILTER_PATTERN_INCLUDE, FILTER_PATTERN_OPTION, FILTER_PATTERN_REGEX |
| Fields inherited from interface com.atlassian.bamboo.repository.FilterChangesetAwareRepository |
|---|
CHANGESET_FILTER_PATTERN_REGEX, MAVEN_RELEASE_PLUGIN_EXCLUSION_PATTERN |
| Constructor Summary | |
|---|---|
SvnRepository()
|
|
| Method Summary | |
|---|---|
void |
addDefaultValues(BuildConfiguration buildConfiguration)
Extension point for adding default values to the form for RenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan) |
long |
checkout(org.tmatesoft.svn.core.SVNURL url,
org.tmatesoft.svn.core.wc.SVNRevision revision,
java.io.File dstPath,
boolean isRecursive)
Checks out a working copy from a repository. |
BuildRepositoryChanges |
collectChangesForRevision(PlanKey planKey,
java.lang.String targetRevision)
Collects the changes for the targetRevision. |
BuildRepositoryChanges |
collectChangesSinceLastBuild(java.lang.String planKey,
PlanVcsRevisionData revisionData)
|
BuildRepositoryChanges |
collectChangesSinceLastBuild(java.lang.String planKey,
java.lang.String lastVcsRevisionKey)
Collects the changes since the lastVcsRevisionKey. |
int |
compareTo(java.lang.Object obj)
|
void |
createBranch(long repositoryId,
java.lang.String branchName,
BuildContext buildContext)
Creates branch in the repository. |
void |
createTag(long repositoryId,
java.lang.String tagName,
BuildContext buildContext)
Creates a tag in the repository |
boolean |
equals(java.lang.Object o)
|
long |
export(org.tmatesoft.svn.core.SVNURL url,
org.tmatesoft.svn.core.wc.SVNRevision revision,
java.io.File dstPath,
boolean isRecursive)
|
java.util.List<NameValuePair> |
getAuthenticationTypes()
List all authentication types supported by repository. |
java.lang.String |
getAuthType()
|
org.tmatesoft.svn.core.SVNURL |
getBranchRootUrl()
|
CacheId |
getCacheId(CachingAwareRepository.CachableOperation cachableOperation)
Cache id has to fulfill the following: Given two Repository objects A and B, returning equal CacheId (in terms of equals()) and a cachable operation foo(), in the following sequence of calls made in a short time period: 1. |
protected java.lang.String |
getConfigConstant(java.lang.String s)
|
java.util.Map<java.lang.String,java.lang.String> |
getCustomVariables()
Return a map containing name->value mapping of the variables. |
java.lang.String |
getEncryptedPassphrase()
|
java.lang.String |
getEncryptedPassword()
|
CommitContext |
getFirstCommit()
Retrieve the commit that created the Branch. |
java.lang.String |
getHost()
What's the repository server host |
java.lang.String |
getHost(BuildContext buildContext)
|
java.lang.String |
getKeyFile()
|
CommitContext |
getLastCommit()
Retrieve last commit on the branch set on this Repository. |
java.lang.String |
getLocationIdentifier()
A string representing the location of the repository |
java.lang.String |
getManualBranchRootUrl()
|
java.lang.String |
getManualTagRootUrl()
|
SvnRepositoryMavenPomAccessor |
getMavenPomAccessor()
|
java.lang.String |
getName()
What's the name of the plugin - appears in the GUI dropdown |
java.util.List<VcsBranch> |
getOpenBranches(java.lang.String context)
Set of open branches that are discovered in the repository. |
java.lang.String |
getPassphrase()
|
java.util.Map<java.lang.String,java.lang.String> |
getPlanRepositoryVariables()
Return a map containing name->value mapping of the plan repository format variables. |
protected java.lang.String |
getRepoPrefix()
|
java.lang.String |
getRepositoryUrl()
Which repository URL are we using? |
java.lang.String |
getSubstitutedKeyFile()
|
java.lang.String |
getSubstitutedRepositoryUrl()
Return repository URL with extrapolated Bamboo variables |
protected org.tmatesoft.svn.core.SVNURL |
getSubstitutedSvnUrl()
|
protected org.tmatesoft.svn.core.wc.SVNClientManager |
getSvnClientManager()
SVNClientManager factory. |
protected java.lang.String |
getTemporaryConstant(java.lang.String s)
|
protected java.lang.String |
getTemporaryPrefix()
|
java.lang.String |
getUrl()
Where is the documentation and help about using Subversion? |
java.lang.String |
getUsername()
What username are we using to access the repository? |
java.lang.String |
getUserPassword()
What password are we using to access the repository |
VcsBranch |
getVcsBranch()
|
int |
hashCode()
|
org.tmatesoft.svn.core.wc.SVNInfo |
info(org.tmatesoft.svn.core.SVNURL url,
org.tmatesoft.svn.core.wc.SVNRevision revision)
Runs 'svn info' operation on a given URL. |
boolean |
isAdvancedOptionEnabled(BuildConfiguration buildConfiguration)
|
boolean |
isAutodetectBranchRootUrl()
|
boolean |
isAutodetectTagRootUrl()
|
boolean |
isCachingSupportedFor(CachingAwareRepository.CachableOperation cachableOperation)
|
boolean |
isCleanCheckoutRequired()
|
boolean |
isCommitIsolationEnabled()
Whether or not commits will be broken up into individual builds |
java.util.List<BuildRepositoryChanges> |
isolateCommits(BuildRepositoryChanges buildChanges)
Break the single build changes object into a list of BuildRepositoryChanges. |
protected boolean |
isRecoverableException(org.tmatesoft.svn.core.SVNException e)
Check if provided exception object identifies recoverable exception. |
boolean |
isRepositoryDifferent(Repository repository)
Checks if the current repo is the same as the given repository |
boolean |
isUseExport()
|
boolean |
isUseExternals()
|
void |
onInitialBuild(BuildContext buildContext)
Allows the Repository to perform custom actions when an initial build is triggered. |
void |
populateFromConfig(org.apache.commons.configuration.HierarchicalConfiguration config)
Update the current object with data in the HierarchicalConfiguration |
void |
postRetrieveSourceCode(BuildContext buildContext)
postRetrieveSourceCode will run after the retrieveSourceCode method is called. |
void |
postRetrieveSourceCode(BuildContext buildContext,
java.io.File sourceDirectory)
postRetrieveSourceCode will run after the retrieveSourceCode method is called. |
void |
prepareConfigObject(BuildConfiguration buildConfiguration)
Do any preprocessing work before validation occurs. |
void |
preRetrieveSourceCode(BuildContext buildContext)
preRetrieveSourceCode will run before the retrieveSourceCode method is called. |
void |
preRetrieveSourceCode(BuildContext buildContext,
java.io.File sourceDirectory)
Checks if the SVN URL has changed |
java.lang.String |
retrieveSourceCode(BuildContext buildContext,
java.lang.String vcsRevisionKey,
java.io.File sourceDirectory)
Checks out the latest source code from an appropriate repository to specified directory |
void |
setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor)
|
void |
setAuthType(java.lang.String authType)
|
void |
setAutodetectBranchRoot(boolean autodetectBranchRoot)
|
void |
setCommitIsolationEnabled(boolean commitIsolationEnabled)
|
void |
setEncryptedPassphrase(java.lang.String encryptedPassphrase)
|
void |
setEncryptedPassword(java.lang.String encryptedPassword)
|
void |
setEncryptionService(EncryptionService encryptionService)
|
void |
setKeyFile(java.lang.String myKeyFile)
|
void |
setManualBranchRootUrl(java.lang.String branchRoot)
|
void |
setPassphrase(java.lang.String passphrase)
|
void |
setRepositoryUrl(java.lang.String repositoryUrl)
Specify the subversion repository we are using |
void |
setSvnClientManagerFactory(SVNClientManagerFactory svnClientManagerFactory)
|
void |
setUseExport(boolean useExport)
|
void |
setUseExternals(boolean useExternals)
|
void |
setUsername(java.lang.String username)
What's the username (if any) we are using to acces the repository? |
void |
setUserPassword(java.lang.String password)
Specify the password required to access the resposotory |
void |
setVcsBranch(VcsBranch branch)
Set and prepare the repository for using an arbitrary branch. |
void |
setVcsBranch(VcsBranch branch,
org.apache.commons.configuration.HierarchicalConfiguration customConfiguration)
|
org.apache.commons.configuration.HierarchicalConfiguration |
toConfiguration()
Store SvnRepository data into configuration object. |
boolean |
usePollingForBranchDetection()
If Bamboo generic detection polling should be used for this repository |
ErrorCollection |
validate(BuildConfiguration buildConfiguration)
Validates the properties in the BuildConfiguration object. |
| Methods inherited from class com.atlassian.bamboo.repository.AbstractStandaloneRepository |
|---|
getAdvancedEditHtml, getAdvancedViewHtml, getEditHtml, getViewHtml, getViewHtml |
| Methods inherited from class com.atlassian.bamboo.v2.build.BaseConfigurablePlugin |
|---|
customizeBuildRequirements, removeBuildRequirements |
| Methods inherited from class com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin |
|---|
isConfigurationMissing, populateContextForEdit, populateContextForView |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.atlassian.bamboo.repository.AdvancedConfigurationAwareRepository |
|---|
getAdvancedEditHtml, getAdvancedViewHtml |
| Methods inherited from interface com.atlassian.bamboo.repository.Repository |
|---|
checkConnection, getKey, getMinimalEditHtml, getShortKey |
| Methods inherited from interface com.atlassian.bamboo.v2.build.repository.RepositoryV2 |
|---|
getSourceCodeDirectory |
| Methods inherited from interface com.atlassian.bamboo.v2.build.ConfigurablePlugin |
|---|
customizeBuildRequirements, removeBuildRequirements |
| Methods inherited from interface com.atlassian.bamboo.v2.build.RenderableBuildConfiguration |
|---|
getEditHtml, getViewHtml |
| Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider |
|---|
getDescription |
| Field Detail |
|---|
public static final java.lang.String NAME
public static final java.lang.String KEY
public static final java.lang.String COMPLETE_PLUGIN_KEY
public static final java.lang.String SVN_REPO_PREFIX
public static final java.lang.String SVN_REPO_URL
public static final java.lang.String SVN_USERNAME
public static final java.lang.String SVN_AUTH_TYPE
public static final java.lang.String SVN_PASSWORD
public static final java.lang.String SVN_KEYFILE
public static final java.lang.String SVN_PASSPHRASE
public static final java.lang.String SVN_SSL_KEYFILE
public static final java.lang.String SVN_SSL_PASSPHRASE
public static final java.lang.String TEMPORARY_SVN_REPO_PREFIX
public static final java.lang.String TEMPORARY_SVN_PASSWORD
public static final java.lang.String BRANCHES_DETECTION_BRANCHES_ROOT
public static final java.lang.String BRANCHES_DETECTION_BRANCHES_ROOT_OVERRIDDEN
public static final org.tmatesoft.svn.core.wc.ISVNOptions DEFAULT_SVN_OPTIONS
protected EncryptionService encryptionService
| Constructor Detail |
|---|
public SvnRepository()
| Method Detail |
|---|
@NotNull
public BuildRepositoryChanges collectChangesSinceLastBuild(@NotNull
java.lang.String planKey,
@NotNull
PlanVcsRevisionData revisionData)
throws RepositoryException
collectChangesSinceLastBuild in interface CustomRevisionDataAwareRepositoryRepositoryException
@NotNull
public BuildRepositoryChanges collectChangesForRevision(@NotNull
PlanKey planKey,
@NotNull
java.lang.String targetRevision)
throws RepositoryException
OnceOffCapableRepository
collectChangesForRevision in interface OnceOffCapableRepositorycollectChangesForRevision in class AbstractRepositoryRepositoryException - if something goes wrong
@NotNull
public BuildRepositoryChanges collectChangesSinceLastBuild(@NotNull
java.lang.String planKey,
@Nullable
java.lang.String lastVcsRevisionKey)
throws RepositoryException
RepositoryV2
collectChangesSinceLastBuild in interface RepositoryV2lastVcsRevisionKey - can be null, if null you should ensure the correct vcsrevisionkey is returned in the BuildChanges object.
RepositoryException - if something goes wrongpublic boolean usePollingForBranchDetection()
BranchInformationProvider
usePollingForBranchDetection in interface BranchInformationProvider
@NotNull
public java.lang.String retrieveSourceCode(@NotNull
BuildContext buildContext,
@Nullable
java.lang.String vcsRevisionKey,
@NotNull
java.io.File sourceDirectory)
throws RepositoryException
CustomSourceDirectoryAwareRepository
retrieveSourceCode in interface CustomSourceDirectoryAwareRepositoryvcsRevisionKey - - may be null if you want latest codesourceDirectory - - directory to checkout to
RepositoryException
public void preRetrieveSourceCode(@NotNull
BuildContext buildContext,
@NotNull
java.io.File sourceDirectory)
preRetrieveSourceCode in interface RepositoryEventAwarebuildContext -
public void postRetrieveSourceCode(@NotNull
BuildContext buildContext)
RepositoryEventAware
postRetrieveSourceCode in interface RepositoryEventAware
public void postRetrieveSourceCode(@NotNull
BuildContext buildContext,
@NotNull
java.io.File sourceDirectory)
RepositoryEventAware
postRetrieveSourceCode in interface RepositoryEventAware
public void preRetrieveSourceCode(@NotNull
BuildContext buildContext)
RepositoryEventAware
preRetrieveSourceCode in interface RepositoryEventAware
protected boolean isRecoverableException(@NotNull
org.tmatesoft.svn.core.SVNException e)
e - Exception to be analyzed.
protected org.tmatesoft.svn.core.wc.SVNClientManager getSvnClientManager()
@NotNull
public ErrorCollection validate(@NotNull
BuildConfiguration buildConfiguration)
BuildConfigurationAwarePluginBuildConfiguration object. The name of the properties match those passed
in through the form fragments in RenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan) template.
validate in interface BuildConfigurationAwarePluginvalidate in class AbstractRepositorybuildConfiguration - - @NotNull
ErrorCollection keyed by the field name. @NotNull
public boolean isRepositoryDifferent(@NotNull
Repository repository)
RepositoryV2
isRepositoryDifferent in interface RepositoryV2repository - to compare against
public void prepareConfigObject(@NotNull
BuildConfiguration buildConfiguration)
BuildConfigurationAwarePlugin
prepareConfigObject in interface BuildConfigurationAwarePluginprepareConfigObject in class BaseBuildConfigurationAwarePluginbuildConfiguration - - @NotNull
public long checkout(org.tmatesoft.svn.core.SVNURL url,
org.tmatesoft.svn.core.wc.SVNRevision revision,
java.io.File dstPath,
boolean isRecursive)
throws RepositoryException
url - repository location where a working copy is to be checked out from;revision - a revision at which a working copy being checked out is to be;dstPath - a local path where the working copy will be fetched into;isRecursive - if true and url corresponds to a directory then doCheckout(..) recursively
RepositoryException - Failed!
public long export(org.tmatesoft.svn.core.SVNURL url,
org.tmatesoft.svn.core.wc.SVNRevision revision,
java.io.File dstPath,
boolean isRecursive)
throws RepositoryException
RepositoryException@NotNull public SvnRepositoryMavenPomAccessor getMavenPomAccessor()
getMavenPomAccessor in interface MavenPomAccessorCapableRepository
@NotNull
public org.tmatesoft.svn.core.wc.SVNInfo info(org.tmatesoft.svn.core.SVNURL url,
org.tmatesoft.svn.core.wc.SVNRevision revision)
throws RepositoryException
url - repository location which shall be queriedrevision - a revision of repository location which shall be queried
RepositoryException - Failed!
public void addDefaultValues(@NotNull
BuildConfiguration buildConfiguration)
BuildConfigurationAwarePluginRenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
addDefaultValues in interface BuildConfigurationAwarePluginaddDefaultValues in class AbstractRepositorybuildConfiguration - - @NotNull
public void populateFromConfig(@NotNull
org.apache.commons.configuration.HierarchicalConfiguration config)
ConvertibleFromConfigHierarchicalConfiguration
populateFromConfig in interface ConvertibleFromConfigpopulateFromConfig in class AbstractRepository@NotNull public org.apache.commons.configuration.HierarchicalConfiguration toConfiguration()
toConfiguration in interface ConvertibleFromConfigtoConfiguration in class AbstractRepositorypublic void onInitialBuild(BuildContext buildContext)
InitialBuildAwareRepositoryRepository to perform custom actions when an initial build is triggered.
onInitialBuild in interface InitialBuildAwareRepository
public boolean isAdvancedOptionEnabled(@NotNull
BuildConfiguration buildConfiguration)
isAdvancedOptionEnabled in class AbstractRepository@NotNull public java.lang.String getName()
getName in interface RepositorygetName in interface DescriptionProvidergetName in interface NameProviderpublic java.lang.String getPassphrase()
public void setPassphrase(java.lang.String passphrase)
public java.lang.String getEncryptedPassphrase()
public void setEncryptedPassphrase(java.lang.String encryptedPassphrase)
public java.lang.String getKeyFile()
public java.lang.String getSubstitutedKeyFile()
public void setKeyFile(java.lang.String myKeyFile)
public java.lang.String getAuthType()
getAuthType in interface SelectableAuthenticationRepositorypublic void setAuthType(java.lang.String authType)
public java.lang.String getUrl()
public void setRepositoryUrl(java.lang.String repositoryUrl)
repositoryUrl - The subversion repositorypublic java.lang.String getRepositoryUrl()
public java.lang.String getSubstitutedRepositoryUrl()
public void setUsername(java.lang.String username)
username - The user name, null if there is no userpublic java.lang.String getUsername()
public void setUserPassword(java.lang.String password)
password - The password (null if we are not using user authentication)public java.lang.String getUserPassword()
public java.lang.String getEncryptedPassword()
public void setEncryptedPassword(java.lang.String encryptedPassword)
protected org.tmatesoft.svn.core.SVNURL getSubstitutedSvnUrl()
throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNExceptionpublic java.lang.String getHost()
Repository
getHost in interface Repositorypublic java.lang.String getHost(BuildContext buildContext)
@NotNull public java.lang.String getLocationIdentifier()
Repository
getLocationIdentifier in interface RepositorygetLocationIdentifier in class AbstractRepositorypublic boolean isUseExternals()
public void setUseExternals(boolean useExternals)
public boolean isUseExport()
public void setUseExport(boolean useExport)
public boolean isCleanCheckoutRequired()
isCleanCheckoutRequired in interface MandatoryCleanCheckoutAwareRepositorypublic void setSvnClientManagerFactory(SVNClientManagerFactory svnClientManagerFactory)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int compareTo(java.lang.Object obj)
@NotNull public java.util.List<NameValuePair> getAuthenticationTypes()
SelectableAuthenticationRepository
getAuthenticationTypes in interface SelectableAuthenticationRepositorypublic boolean isCommitIsolationEnabled()
CommitIsolationAwareRepository
isCommitIsolationEnabled in interface CommitIsolationAwareRepositorypublic void setCommitIsolationEnabled(boolean commitIsolationEnabled)
public boolean isAutodetectBranchRootUrl()
public void setAutodetectBranchRoot(boolean autodetectBranchRoot)
public boolean isAutodetectTagRootUrl()
public java.lang.String getManualBranchRootUrl()
public void setManualBranchRootUrl(java.lang.String branchRoot)
public java.lang.String getManualTagRootUrl()
public void setEncryptionService(EncryptionService encryptionService)
public void setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor)
setAdministrationConfigurationAccessor in class AbstractRepository
@NotNull
public java.util.List<BuildRepositoryChanges> isolateCommits(@NotNull
BuildRepositoryChanges buildChanges)
CommitIsolationAwareRepositoryBuildRepositoryChanges. Must not be null. May return an empty
list but that doesn't actually make any sense. BuildRepositoryChanges
will be more likely to be built than lower changes, which may be discarded.
isolateCommits in interface CommitIsolationAwareRepository
public void createBranch(long repositoryId,
@NotNull
java.lang.String branchName,
@NotNull
BuildContext buildContext)
throws RepositoryException
BranchingAwareRepository
createBranch in interface BranchingAwareRepositorybranchName - name of new branchbuildContext - build context
RepositoryException
public void createTag(long repositoryId,
@NotNull
java.lang.String tagName,
@NotNull
BuildContext buildContext)
throws RepositoryException
TaggingAwareRepository
createTag in interface TaggingAwareRepositorytagName - - name of the tagbuildContext - - build context
RepositoryException@NotNull public java.util.Map<java.lang.String,java.lang.String> getCustomVariables()
CustomVariableProviderRepositoryNull values will be filtered out so it's safe to put them in the map.
getCustomVariables in interface CustomVariableProviderRepository@NotNull public java.util.Map<java.lang.String,java.lang.String> getPlanRepositoryVariables()
CustomVariableProviderRepositoryNull values will be filtered out so it's safe to put them in the map.
getPlanRepositoryVariables in interface CustomVariableProviderRepository
public org.tmatesoft.svn.core.SVNURL getBranchRootUrl()
throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNException
@NotNull
public java.util.List<VcsBranch> getOpenBranches(@Nullable
java.lang.String context)
throws RepositoryException
BranchDetectionCapableRepositorySet of open branches that are discovered in the repository. Returns empty collection if no branches at
all (can that happen?). Used for monitoring repositories for new branches.
An open branch is a branch that is considered 'open' by underlying VCS - it has nothing to do with the actual
development on that branch (recent commits or so).
getOpenBranches in interface BranchDetectionCapableRepositoryList of branch names. May be empty.
RepositoryException
public CommitContext getLastCommit()
throws RepositoryException
BranchDetectionCapableRepository
getLastCommit in interface BranchDetectionCapableRepositoryRepositoryException
public CommitContext getFirstCommit()
throws RepositoryException
BranchDetectionCapableRepository
getFirstCommit in interface BranchDetectionCapableRepositoryRepositoryException@NotNull public VcsBranch getVcsBranch()
getVcsBranch in interface BranchAwareRepository
public void setVcsBranch(@NotNull
VcsBranch branch)
BranchAwareRepository
setVcsBranch in interface BranchAwareRepository
public void setVcsBranch(@NotNull
VcsBranch branch,
@NotNull
org.apache.commons.configuration.HierarchicalConfiguration customConfiguration)
public CacheId getCacheId(@NotNull
CachingAwareRepository.CachableOperation cachableOperation)
CachingAwareRepository
getCacheId in interface CachingAwareRepository
public boolean isCachingSupportedFor(@NotNull
CachingAwareRepository.CachableOperation cachableOperation)
isCachingSupportedFor in interface CachingAwareRepositoryprotected java.lang.String getRepoPrefix()
protected java.lang.String getTemporaryPrefix()
protected java.lang.String getConfigConstant(java.lang.String s)
protected java.lang.String getTemporaryConstant(java.lang.String s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||