Class SecuredVcsManager
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager
-
- All Implemented Interfaces:
BuildTypeVcsRootsHolder,VcsRootsManagerSettings,VcsRootsManagerSettingsHolder,VcsContentManager,VcsContentManagerEx,VcsManager,VcsManagerEx,VcsRegistry,VcsRegistryEx,VcsRootInstancesManager,VcsRootsManager,VcsRootsManagerEx,VcsRootUsernamesManager,VcsRootUsernamesManagerEx,VcsServiceFactory,VcsServiceProvider
public class SecuredVcsManager extends Object implements VcsManagerEx
- Author:
- Pavel.Sher Date: 04.10.2007
-
-
Constructor Summary
Constructors Constructor Description SecuredVcsManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddVcsRootUsageContributor(VcsRootUsagesContributor contributor)voidattachTo(SBuildType buildType, SVcsRoot vcsRoot)voiddetachFrom(SBuildType buildType, SVcsRoot vcsRoot)SVcsModificationfindModificationById(long changeId, boolean isPersonal)Find and return VCS modification by its id and isPersonal flag.SVcsRootExfindRootByExternalId(String vcsRootExternalId)Returns vcs root with specified external id.SVcsRootExfindRootById(long id)returns vcs root with specified idVcsRootInstancefindRootInstanceById(long id)Collection<? extends SVcsRoot>findRootsByVcsName(String vcsSupportName)Returns collection of VCS roots corresponding to VcsSupport with specified name (seeVcsSupportConfig.getName())List<SVcsRoot>findUnusedVcsRootsByScope(VcsRootScope scope)Returns list of VCS roots having specified scope and having no usages in build configurations.VcsSupportCorefindVcsByName(String name)Try to find and return VcsSupportVcsSupportContextfindVcsContextByName(String name)Try to find and return VcsSupportContextCollection<? extends SVcsRoot>findVcsRoots(Collection<Long> ids)returns available vcs roots with the given idsList<SVcsRoot>findVcsRootsByScope(VcsRootScope scope)Returns all VCS roots having specified scope.Set<String>getAllConfigurationUsages(Collection<Long> vcsRootIds)Returns all configurations which use the VCS roots specified.List<SBuildType>getAllConfigurationUsages(VcsRoot root)Returns all configurations which use the root.List<SProject>getAllProjectUsages(VcsRoot root)returns all project which contain configurations which use the root.List<SVcsRoot>getAllRegisteredVcsRoots()returns list of all registered vcs rootsList<BuildTypeTemplate>getAllTemplateUsages(VcsRoot root)Returns all templates with specified vcs root attached.Collection<VcsSupportContext>getAllVcs()Collection<VcsSupportCore>getAllVcsCore()Set<VcsRootUsagesContributor>getAllVcsRootUsagesContributors()List<SVcsRoot>getAttachedRoots(SBuildType buildType)byte[]getContentAfter(VcsModification parentModification, VcsChangeInfo change)byte[]getContentBefore(VcsModification parentModification, VcsChangeInfo change)intgetDefaultModificationCheckInterval()intgetDefaultQuietPeriod()byte[]getFileContent(List<VcsRootInstanceEntry> vcsRootEntries, String relativePath)Get the file content for the latest revision detected by TeamCity during the last checking for changes process, searching it in the provided list of VCS rootsbyte[]getFileContent(List<VcsRootInstanceEntry> vcsRootEntries, String relativePath, boolean latest)Same asVcsContentManager.getFileContent(List, String)if argument latest is false.byte[]getFileContent(Build build, String filePath)Get binary content of the single file in modification set.byte[]getFileContent(SBuildType buildType, String relativePath)Get the file content for the latest revision detected by TeamCity during the last checking for changes process, for given relative path in the given build configuration.<T extends VcsGenericService>
TgetGenericService(String vcsName, Class<T> serviceClass)Fetches a global vcs-related service for a given Vcs pluginsCollection<SUser>getModificationUsers(SVcsModification modification)intgetNumberOfUsagesInConfigurations(VcsRoot root)Returns number of usages of the specified VCS root in build configurationsintgetNumberOfUsagesInProjects(VcsRoot root)Returns number of usages of this VCS root in projects build configurations and templatesVcsRootStatusgetStatus(SVcsRoot vcsRoot)Provides current status of the given vcs root.Collection<SUser>getUsers(VcsRoot root, String username)Returns users which have specified username in their vcs settings (either in settings of whole VCS or in settings of specified VCS root)VcsModificationHistoryExgetVcsHistory()VcsRootInstancegetVcsRootInstance(SVcsRoot parent, Map<String,String> params)Returns VCS root instance from the specified parent VCS root and new parameters.Map<SVcsRoot,String>getVcsRootsUsernames(User user)Returns VCS root specific user names defined by the specified user.<T extends VcsService>
TgetVcsService(VcsSettings settings, Class<T> serviceClass)Fetches a repository layout service of given type by given settings.VcsStatusLoggergetVcsStatusProvider()Returns a component which can be used to detect/report a status of a version control system root in a particular build configuration.Map<VcsSupportCore,String>getVcsUsernames(User user)Returns default usernames for all VCS roots of a VCS plugin.booleanisUsedInProjects(SVcsRoot vcsRoot)voidregister(String vcsName, VcsSupportContext context)Register new vcs with specified name on server.voidregisterVcsSupport(VcsSupportContext vcsSupport)Register new vcs on server.voidsetDefaultModificationCheckInterval(int seconds)voidsetDefaultQuietPeriod(int quietPeriod)voidsetDefaultVcsUsername(SUser user, String userName)Sets default VCS username for the uservoidsetDelegate(VcsManagerEx delegate)voidsetSecurityContext(SecurityContextEx securityContext)voidsetUseDefaultIntervalAsMinimum(boolean enforced)voidsetVcsRootUsername(SUser user, VcsRoot root, String userName)Sets username of a user in specific VCS rootvoidsetVcsUsername(SUser user, VcsSupportConfig vcs, String userName)Sets username of a user in all VCS roots of a VCS pluginvoidunregister(String vcsName)Unregister vcs with specified name which was previous registered viaVcsRegistryEx.register(String, VcsSupportContext)method.voidunregisterVcsSupport(VcsSupportContext vcsSupport)Unregister vcs which was previous registered viaVcsRegistryEx.registerVcsSupport(VcsSupportContext)method.booleanuseDefaultCheckIntervalAsMinimum()
-
-
-
Method Detail
-
setDelegate
public void setDelegate(@NotNull VcsManagerEx delegate)
-
setSecurityContext
public void setSecurityContext(@NotNull SecurityContextEx securityContext)
-
getVcsService
@Nullable public <T extends VcsService> T getVcsService(@NotNull VcsSettings settings, @NotNull Class<T> serviceClass)
Description copied from interface:VcsServiceProviderFetches a repository layout service of given type by given settings. Null will be returned if service is not implemented- Specified by:
getVcsServicein interfaceVcsServiceProvider- Type Parameters:
T- type of service- Parameters:
settings- RepositoryLayout settings descriptionserviceClass- type of service- Returns:
- RepositoryLayout service for a given settings and service class
-
getGenericService
@Nullable public <T extends VcsGenericService> T getGenericService(@NotNull String vcsName, @NotNull Class<T> serviceClass)
Description copied from interface:VcsServiceProviderFetches a global vcs-related service for a given Vcs plugins- Specified by:
getGenericServicein interfaceVcsServiceProviderserviceClass- type of service to fetch- Returns:
- service or null if service not supported
-
setVcsRootUsername
public void setVcsRootUsername(SUser user, VcsRoot root, String userName)
Description copied from interface:VcsRootUsernamesManagerExSets username of a user in specific VCS root- Specified by:
setVcsRootUsernamein interfaceVcsRootUsernamesManagerEx
-
setVcsUsername
public void setVcsUsername(SUser user, VcsSupportConfig vcs, String userName)
Description copied from interface:VcsRootUsernamesManagerExSets username of a user in all VCS roots of a VCS plugin- Specified by:
setVcsUsernamein interfaceVcsRootUsernamesManagerEx
-
setDefaultVcsUsername
public void setDefaultVcsUsername(SUser user, String userName)
Description copied from interface:VcsRootUsernamesManagerExSets default VCS username for the user- Specified by:
setDefaultVcsUsernamein interfaceVcsRootUsernamesManagerEx
-
setDefaultModificationCheckInterval
public void setDefaultModificationCheckInterval(int seconds)
- Specified by:
setDefaultModificationCheckIntervalin interfaceVcsRootsManagerSettings
-
getDefaultModificationCheckInterval
public int getDefaultModificationCheckInterval()
- Specified by:
getDefaultModificationCheckIntervalin interfaceVcsRootsManagerSettingsHolder- Returns:
- Default VCS polling interval in seconds. Can be optionally enforced as a minimum
-
getDefaultQuietPeriod
public int getDefaultQuietPeriod()
- Specified by:
getDefaultQuietPeriodin interfaceVcsRootsManagerSettingsHolder- Returns:
- Default quiet period in seconds used through the server, if set in VCS trigger
-
useDefaultCheckIntervalAsMinimum
public boolean useDefaultCheckIntervalAsMinimum()
- Specified by:
useDefaultCheckIntervalAsMinimumin interfaceVcsRootsManagerSettingsHolder- Returns:
- if set, default modification check interval is used as an enforced minimum value for the whole server
-
setDefaultQuietPeriod
public void setDefaultQuietPeriod(int quietPeriod)
- Specified by:
setDefaultQuietPeriodin interfaceVcsRootsManagerSettings
-
setUseDefaultIntervalAsMinimum
public void setUseDefaultIntervalAsMinimum(boolean enforced)
- Specified by:
setUseDefaultIntervalAsMinimumin interfaceVcsRootsManagerSettings
-
registerVcsSupport
public void registerVcsSupport(@NotNull VcsSupportContext vcsSupport)Description copied from interface:VcsRegistryExRegister new vcs on server. Works likeVcsRegistryEx.register(String, VcsSupportContext)with name from VcsSupportContext- Specified by:
registerVcsSupportin interfaceVcsRegistryEx- Parameters:
vcsSupport-VcsSupportContextimplementation for vcs which provides core functionality
-
unregisterVcsSupport
public void unregisterVcsSupport(@NotNull VcsSupportContext vcsSupport)Description copied from interface:VcsRegistryExUnregister vcs which was previous registered viaVcsRegistryEx.registerVcsSupport(VcsSupportContext)method.- Specified by:
unregisterVcsSupportin interfaceVcsRegistryEx
-
unregister
public void unregister(@NotNull String vcsName)Description copied from interface:VcsRegistryExUnregister vcs with specified name which was previous registered viaVcsRegistryEx.register(String, VcsSupportContext)method. If vcs with given name is not found then method does nothing- Specified by:
unregisterin interfaceVcsRegistryEx- Parameters:
vcsName- name of vcs
-
register
public void register(@NotNull String vcsName, @NotNull VcsSupportContext context) throws VcsSupportNameCollisionExceptionDescription copied from interface:VcsRegistryExRegister new vcs with specified name on server. If vcs with given name already registered thenVcsSupportNameCollisionExceptionwill be thrown.- Specified by:
registerin interfaceVcsRegistryEx- Parameters:
vcsName- name of vcscontext-VcsSupportContextimplementation for vcs which provides core functionality- Throws:
VcsSupportNameCollisionException- if vcs with given name already registed
-
getAllConfigurationUsages
@NotNull public Set<String> getAllConfigurationUsages(@NotNull Collection<Long> vcsRootIds)
Description copied from interface:VcsRootsManagerExReturns all configurations which use the VCS roots specified. Result set can be unmodifiable.- Specified by:
getAllConfigurationUsagesin interfaceVcsRootsManagerEx- Parameters:
vcsRootIds- ids of vcs roots to search through- Returns:
- all root usages (set of build type ids)
- See Also:
VcsRootsManager.getAllConfigurationUsages(VcsRoot)
-
findVcsByName
@Nullable public VcsSupportCore findVcsByName(@NotNull String name)
Description copied from interface:VcsRegistryTry to find and return VcsSupport- Specified by:
findVcsByNamein interfaceVcsRegistry- Parameters:
name- name of VcsSupport to find- Returns:
- Found VcsSupport with given name
-
findVcsContextByName
@Nullable public VcsSupportContext findVcsContextByName(@NotNull String name)
Description copied from interface:VcsRegistryTry to find and return VcsSupportContext- Specified by:
findVcsContextByNamein interfaceVcsRegistry- Parameters:
name- name of VcsSupport to find- Returns:
- Found VcsSupport with given name
- See Also:
VcsServiceProvider
-
getAllVcs
@NotNull public Collection<VcsSupportContext> getAllVcs()
- Specified by:
getAllVcsin interfaceVcsRegistry- Returns:
- Collection of all registered VcsSupports
-
getAllVcsCore
@NotNull public Collection<VcsSupportCore> getAllVcsCore()
- Specified by:
getAllVcsCorein interfaceVcsRegistry- Returns:
- Collection of all registered VcsSupports
-
getVcsHistory
@NotNull public VcsModificationHistoryEx getVcsHistory()
- Specified by:
getVcsHistoryin interfaceVcsManager- Specified by:
getVcsHistoryin interfaceVcsManagerEx- Returns:
- manager for detected VCS changes (i.e. user commits)
-
getFileContent
@Nullable public byte[] getFileContent(@NotNull List<VcsRootInstanceEntry> vcsRootEntries, @Nullable String relativePath, boolean latest) throws VcsExceptionDescription copied from interface:VcsContentManagerExSame asVcsContentManager.getFileContent(List, String)if argument latest is false. If latest is true then TeamCity will take the file content for the latest possible revision, in other words it will first go the the repository for the current state and then take the content for the revision from this state.- Specified by:
getFileContentin interfaceVcsContentManagerExlatest- if false then returned content will correspond to the revision which was seen by the server during the last polling process, if true, then the most recent content is returned- Throws:
VcsException
-
getContentBefore
@NotNull public byte[] getContentBefore(VcsModification parentModification, VcsChangeInfo change) throws VcsException
- Specified by:
getContentBeforein interfaceVcsContentManagerEx- Throws:
VcsException
-
getContentAfter
@NotNull public byte[] getContentAfter(VcsModification parentModification, VcsChangeInfo change) throws VcsException
- Specified by:
getContentAfterin interfaceVcsContentManagerEx- Throws:
VcsException
-
getFileContent
@NotNull public byte[] getFileContent(@NotNull Build build, String filePath) throws VcsExceptionDescription copied from interface:VcsContentManagerGet binary content of the single file in modification set.- Specified by:
getFileContentin interfaceVcsContentManager- Parameters:
build- build for which file content should be obtainedfilePath- - relative file path regarding to the project root, "checkout root" from vcs root should not be included- Returns:
- - specified file content, corresponding to the build
- Throws:
VcsException- - throw this exception if some problem occurred while collecting changes or changes cannot be collected because of invalid configuration, or if file, corresponding to specified path cannot be found.
-
getFileContent
@Nullable public byte[] getFileContent(@NotNull SBuildType buildType, @Nullable String relativePath) throws VcsExceptionDescription copied from interface:VcsContentManagerGet the file content for the latest revision detected by TeamCity during the last checking for changes process, for given relative path in the given build configuration.- Specified by:
getFileContentin interfaceVcsContentManager- Parameters:
buildType- build configurationrelativePath- relative path to the file to be searched in the project VCS roots- Returns:
- null if no corresponding file found
- Throws:
VcsException- when VCS access problem occurs
-
getFileContent
@Nullable public byte[] getFileContent(@NotNull List<VcsRootInstanceEntry> vcsRootEntries, @Nullable String relativePath) throws VcsExceptionDescription copied from interface:VcsContentManagerGet the file content for the latest revision detected by TeamCity during the last checking for changes process, searching it in the provided list of VCS roots- Specified by:
getFileContentin interfaceVcsContentManager- Parameters:
vcsRootEntries- search file content in a given list of VCS root entriesrelativePath- relative path to the file to be searched in the project VCS roots- Returns:
- null if no corresponding file found
- Throws:
VcsException- when VCS access problem occurs- See Also:
VcsRootEntry
-
getVcsStatusProvider
@NotNull public VcsStatusLogger getVcsStatusProvider()
Description copied from interface:VcsManagerReturns a component which can be used to detect/report a status of a version control system root in a particular build configuration.- Specified by:
getVcsStatusProviderin interfaceVcsManager- Returns:
- see above
-
getAllRegisteredVcsRoots
@NotNull public List<SVcsRoot> getAllRegisteredVcsRoots()
Description copied from interface:VcsRootsManagerreturns list of all registered vcs roots- Specified by:
getAllRegisteredVcsRootsin interfaceVcsRootsManager- Returns:
- see above
-
findVcsRootsByScope
@NotNull public List<SVcsRoot> findVcsRootsByScope(@NotNull VcsRootScope scope)
Description copied from interface:VcsRootsManagerReturns all VCS roots having specified scope.- Specified by:
findVcsRootsByScopein interfaceVcsRootsManager- Parameters:
scope- scope of VCS roots- Returns:
- all VCS roots with specified scope
-
findUnusedVcsRootsByScope
public List<SVcsRoot> findUnusedVcsRootsByScope(@NotNull VcsRootScope scope)
Description copied from interface:VcsRootsManagerReturns list of VCS roots having specified scope and having no usages in build configurations.- Specified by:
findUnusedVcsRootsByScopein interfaceVcsRootsManager- Parameters:
scope- scope to filter VCS roots- Returns:
- list of unused VCS roots
-
getAllProjectUsages
@NotNull public List<SProject> getAllProjectUsages(@NotNull VcsRoot root)
Description copied from interface:VcsRootsManagerreturns all project which contain configurations which use the root. Projects are sorted withProjectManager.getProjectsComparator().- Specified by:
getAllProjectUsagesin interfaceVcsRootsManager- Parameters:
root- specified vcs root- Returns:
- all root usages in projects
-
getNumberOfUsagesInProjects
public int getNumberOfUsagesInProjects(VcsRoot root)
Description copied from interface:VcsRootsManagerReturns number of usages of this VCS root in projects build configurations and templates- Specified by:
getNumberOfUsagesInProjectsin interfaceVcsRootsManager- Parameters:
root- VCS root whose usages should be found- Returns:
- see above
-
isUsedInProjects
public boolean isUsedInProjects(@NotNull SVcsRoot vcsRoot)- Specified by:
isUsedInProjectsin interfaceVcsRootsManager- Parameters:
vcsRoot- VCS Root to check- Returns:
- true if VCS root is used by any project (is attached to a build configuration or template, or is used as Versioned Settings VCS root)
-
getNumberOfUsagesInConfigurations
public int getNumberOfUsagesInConfigurations(VcsRoot root)
Description copied from interface:VcsRootsManagerReturns number of usages of the specified VCS root in build configurations- Specified by:
getNumberOfUsagesInConfigurationsin interfaceVcsRootsManager- Parameters:
root- VCS root whose usages are searched for- Returns:
- see above
-
getAllConfigurationUsages
public List<SBuildType> getAllConfigurationUsages(VcsRoot root)
Description copied from interface:VcsRootsManagerReturns all configurations which use the root. Build configurations are sorted by project name then by build configuration name.- Specified by:
getAllConfigurationUsagesin interfaceVcsRootsManager- Parameters:
root- specified vcs root- Returns:
- all root usages in configuration
-
getAllTemplateUsages
@NotNull public List<BuildTypeTemplate> getAllTemplateUsages(@NotNull VcsRoot root)
Description copied from interface:VcsRootsManagerReturns all templates with specified vcs root attached.- Specified by:
getAllTemplateUsagesin interfaceVcsRootsManager- Parameters:
root- vcs root- Returns:
- all templates with specified vcs root
-
findRootById
@Nullable public SVcsRootEx findRootById(long id)
Description copied from interface:VcsRootsManagerreturns vcs root with specified id- Specified by:
findRootByIdin interfaceVcsRootsManager- Specified by:
findRootByIdin interfaceVcsRootsManagerEx- Parameters:
id- vcs root id- Returns:
- vcs root by id
-
findRootByExternalId
@Nullable public SVcsRootEx findRootByExternalId(@Nullable String vcsRootExternalId)
Description copied from interface:VcsRootsManagerReturns vcs root with specified external id. Since 8.1 the method also looks up the vcs root by the previous external ids. So the result project can have a different external id after a call. But the later is impossible if there is a vcs root that currently has aexternalId.- Specified by:
findRootByExternalIdin interfaceVcsRootsManager- Specified by:
findRootByExternalIdin interfaceVcsRootsManagerEx- Parameters:
vcsRootExternalId- vcs root external id- Returns:
- vcs root by external id
-
findRootInstanceById
public VcsRootInstance findRootInstanceById(long id)
- Specified by:
findRootInstanceByIdin interfaceVcsRootInstancesManager- Parameters:
id- id of the VCS root instance- Returns:
- VCS root instance with specified id
-
getVcsRootInstance
@NotNull public VcsRootInstance getVcsRootInstance(@NotNull SVcsRoot parent, @NotNull Map<String,String> params)
Description copied from interface:VcsRootInstancesManagerReturns VCS root instance from the specified parent VCS root and new parameters.- Specified by:
getVcsRootInstancein interfaceVcsRootInstancesManager- Parameters:
parent- parent VCS root for the instanceparams- new VCS root instance parameters- Returns:
- new VCS root instance
-
findVcsRoots
@NotNull public Collection<? extends SVcsRoot> findVcsRoots(@NotNull Collection<Long> ids)
Description copied from interface:VcsRootsManagerreturns available vcs roots with the given ids- Specified by:
findVcsRootsin interfaceVcsRootsManager- Parameters:
ids- root ids- Returns:
- collection of available object identified by the given ids
-
findRootsByVcsName
@NotNull public Collection<? extends SVcsRoot> findRootsByVcsName(String vcsSupportName)
Description copied from interface:VcsRootsManagerReturns collection of VCS roots corresponding to VcsSupport with specified name (seeVcsSupportConfig.getName())- Specified by:
findRootsByVcsNamein interfaceVcsRootsManager- Parameters:
vcsSupportName- name of VcsSupport- Returns:
- see above
-
getModificationUsers
@NotNull public Collection<SUser> getModificationUsers(@NotNull SVcsModification modification)
- Specified by:
getModificationUsersin interfaceVcsManager- Parameters:
modification- VCS modification- Returns:
- collection of users who contributed to the given VCS modification
-
getUsers
@NotNull public Collection<SUser> getUsers(@NotNull VcsRoot root, @Nullable String username)
Description copied from interface:VcsRootUsernamesManagerReturns users which have specified username in their vcs settings (either in settings of whole VCS or in settings of specified VCS root)- Specified by:
getUsersin interfaceVcsRootUsernamesManager- Parameters:
root- root of interestusername- name of interest- Returns:
- see above
-
getVcsRootsUsernames
@NotNull public Map<SVcsRoot,String> getVcsRootsUsernames(@NotNull User user)
Description copied from interface:VcsRootUsernamesManagerReturns VCS root specific user names defined by the specified user.- Specified by:
getVcsRootsUsernamesin interfaceVcsRootUsernamesManager- Parameters:
user- whose VCS usernames are returned- Returns:
- map of VCS root to user name
-
getVcsUsernames
@NotNull public Map<VcsSupportCore,String> getVcsUsernames(@NotNull User user)
Description copied from interface:VcsRootUsernamesManagerReturns default usernames for all VCS roots of a VCS plugin.- Specified by:
getVcsUsernamesin interfaceVcsRootUsernamesManager- Parameters:
user- whose VCS usernames are returned- Returns:
- map of VCS plugin to user name
-
findModificationById
@Nullable public SVcsModification findModificationById(long changeId, boolean isPersonal)
Description copied from interface:VcsManagerFind and return VCS modification by its id and isPersonal flag.- Specified by:
findModificationByIdin interfaceVcsManager- Parameters:
changeId- VCS modification identifier, seeVcsModification.getId()isPersonal- true if the searched modification relates to personal build- Returns:
- see above
-
getStatus
@NotNull public VcsRootStatus getStatus(@NotNull SVcsRoot vcsRoot)
Description copied from interface:VcsManagerProvides current status of the given vcs root. Can be
- last checked at- Specified by:
getStatusin interfaceVcsManager- Parameters:
vcsRoot- vcs root to get status for- Returns:
- given root status
- See Also:
LVcsRootInstance.getStatus()
-
attachTo
public void attachTo(@NotNull SBuildType buildType, @NotNull SVcsRoot vcsRoot) throws VcsRootNotFoundException- Specified by:
attachToin interfaceBuildTypeVcsRootsHolder- Throws:
VcsRootNotFoundException
-
detachFrom
public void detachFrom(@NotNull SBuildType buildType, @NotNull SVcsRoot vcsRoot)- Specified by:
detachFromin interfaceBuildTypeVcsRootsHolder
-
getAttachedRoots
@NotNull public List<SVcsRoot> getAttachedRoots(@NotNull SBuildType buildType)
- Specified by:
getAttachedRootsin interfaceBuildTypeVcsRootsHolder- Specified by:
getAttachedRootsin interfaceVcsRootsManagerEx
-
addVcsRootUsageContributor
public void addVcsRootUsageContributor(@NotNull VcsRootUsagesContributor contributor)- Specified by:
addVcsRootUsageContributorin interfaceVcsRootsManagerEx
-
getAllVcsRootUsagesContributors
@NotNull public Set<VcsRootUsagesContributor> getAllVcsRootUsagesContributors()
- Specified by:
getAllVcsRootUsagesContributorsin interfaceVcsRootsManagerEx- Returns:
- all registred extension which can provide additional usages for VCS root
-
-