public interface VcsSupportConfig
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
describeVcsRoot(VcsRoot vcsRoot)
Returns presentable text describing specified vcs root, for example:
svn: http://www.somehost.com/project/
|
default java.util.Map<java.lang.String,java.lang.String> |
getCheckoutProperties(VcsRoot root)
Must return a map of vcs root properties significant for checkout operation.
|
java.util.Map<java.lang.String,java.lang.String> |
getDefaultVcsProperties()
Returns default VCS property values.
|
java.lang.String |
getDisplayName()
Returns name to be shown in the UI.
|
java.lang.String |
getName()
Unique VCS identifier among other installed plugins.
|
default java.util.Map<java.lang.String,java.lang.String> |
getServerCheckoutProperties(VcsRoot root)
This method is used to calculate caching key for VCSEntries when checkout on server mode is used.
|
PropertiesProcessor |
getVcsPropertiesProcessor()
Validator for the version control settings as displayed on configuration page for the VCS root.
|
java.lang.String |
getVcsSettingsJspFilePath()
Version control settings editor page.
|
java.util.Comparator<java.lang.String> |
getVersionComparator()
Returns comparator which allows to sort modifications by their version.
|
java.lang.String |
getVersionDisplayName(java.lang.String version,
VcsRoot root)
Returns readable presentation of version (this format should be the same as DisplayVersion of VcsModification)
|
default boolean |
isAgentSideCheckoutAvailable() |
default boolean |
isDAGBased(VcsRoot root) |
default boolean |
isDAGBasedVcs()
Deprecated.
Not used anymore since 10.0, use
isDAGBased(VcsRoot) to provide actual implementation |
@NotNull java.lang.String getName()
@NotNull java.lang.String getDisplayName()
@Nullable PropertiesProcessor getVcsPropertiesProcessor()
AbstractVcsPropertiesProcessor@NotNull java.lang.String getVcsSettingsJspFilePath()
@NotNull
java.lang.String describeVcsRoot(@NotNull
VcsRoot vcsRoot)
vcsRoot - vcs root to describe@Nullable java.util.Map<java.lang.String,java.lang.String> getDefaultVcsProperties()
@NotNull
default java.util.Map<java.lang.String,java.lang.String> getCheckoutProperties(@NotNull
VcsRoot root)
throws VcsException
ServerVcsSupport returns all non-secure properties.root - VCS root of interestVcsException - if properties cannot be calculated@NotNull
default java.util.Map<java.lang.String,java.lang.String> getServerCheckoutProperties(@NotNull
VcsRoot root)
throws VcsException
root - VCS root of interestVcsException - if properties cannot be calculated@Nullable
java.lang.String getVersionDisplayName(@NotNull
java.lang.String version,
@NotNull
VcsRoot root)
throws VcsException
version - version in internal formatroot - root to get version display name for.VcsException - some problem with version control server occurred.@NotNull java.util.Comparator<java.lang.String> getVersionComparator()
Service comparator for dates,
service comparator for integer versions,
service comparator for string versionsdefault boolean isAgentSideCheckoutAvailable()
default boolean isDAGBased(@NotNull
VcsRoot root)
root - corresponding VCS Rootdefault boolean isDAGBasedVcs()
isDAGBased(VcsRoot) to provide actual implementation