Package jetbrains.buildServer.vcs
Interface SVcsRootAccess
-
- All Known Subinterfaces:
SVcsRoot,SVcsRootEx
- All Known Implementing Classes:
DeletedVcsRoot,InaccessibleVcsRoot,MockSVcsRoot,SecuredVcsRoot,SVcsRootImpl
public interface SVcsRootAccessCreated 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 voidcheckAccessibleFrom(SBuildType buildType)Checks that VCS root can be attached to specified configuration.voidcheckAccessibleFrom(SProject project)Checks that VCS root can be attached to configurations of specified project.Set<SProject>getAccessibleProjects()Returns projects where this VCS root can be attached to a configurationbooleanisAccessibleFrom(SBuildType buildType)Returns true if VCS root can be attached to specified configuration.booleanisAccessibleFrom(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 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 InvalidVcsRootScopeExceptionChecks 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 InvalidVcsRootScopeExceptionChecks 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
-
-