Package jetbrains.buildServer.vcs
Interface SVcsRootAccess
-
- All Known Subinterfaces:
SVcsRoot
public interface SVcsRootAccess
Created 22.08.13 17:28- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkAccessibleFrom(SBuildType buildType)
Checks that VCS root can be attached to specified configuration.void
checkAccessibleFrom(SProject project)
Checks that VCS root can be attached to configurations of specified project.java.util.Set<SProject>
getAccessibleProjects()
Returns projects where this VCS root can be attached to a configurationboolean
isAccessibleFrom(SBuildType buildType)
Returns true if VCS root can be attached to specified configuration.boolean
isAccessibleFrom(SProject project)
Returns true if VCS root can be attached to configurations of specified project.
-
-
-
Method Detail
-
isAccessibleFrom
boolean isAccessibleFrom(@NotNull SBuildType buildType)
Returns true if VCS root can be attached to specified configuration.- Parameters:
buildType
- build configuration- Returns:
- true if VCS roots with this scope are accessible from the specified build configuration.
-
isAccessibleFrom
boolean isAccessibleFrom(@NotNull SProject project)
Returns true if VCS root can be attached to configurations of specified project.- Parameters:
project
- project- Returns:
- true if VCS roots with this scope are accessible from the specified project
- Since:
- 8.0
-
getAccessibleProjects
@NotNull java.util.Set<SProject> getAccessibleProjects()
Returns projects where this VCS root can be attached to a configuration- Returns:
- see above
- Since:
- 9.0
-
checkAccessibleFrom
void checkAccessibleFrom(@NotNull SBuildType buildType) throws InvalidVcsRootScopeException
Checks that VCS root can be attached to specified configuration.- Parameters:
buildType
- build configuration- Throws:
InvalidVcsRootScopeException
- if VCS root is inaccessible
-
checkAccessibleFrom
void checkAccessibleFrom(@NotNull SProject project) throws InvalidVcsRootScopeException
Checks that VCS root can be attached to configurations of specified project.- Parameters:
project
- project- Throws:
InvalidVcsRootScopeException
- if VCS root is not accessible- Since:
- 5.0
-
-