|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.vcs.VcsRootScope
public class VcsRootScope
Represents scope of VCS root. VCS root can have project or global scope. VCS roots with project scope are available to this project only. VCS roots with global scope are available globally, to all of the projects.
| Constructor Summary | |
|---|---|
protected |
VcsRootScope()
|
protected |
VcsRootScope(java.lang.String ownerProjectId)
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getOwnerProjectId()
For local scopes returns id of the owner of this VCS root |
static VcsRootScope |
globalScope()
Use to create global scope |
int |
hashCode()
|
boolean |
isAccessibleFrom(SBuildType buildType)
Returns true if VCS roots with this scope are accessible from the specified build configuration. |
boolean |
isAccessibleFrom(SProject project)
Returns true if VCS roots with this scope are accessible from the specified project. |
boolean |
isGlobal()
Returns true if scope is global |
static VcsRootScope |
projectScope(java.lang.String ownerProjectId)
Use to create project scope |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected VcsRootScope()
protected VcsRootScope(@NotNull
java.lang.String ownerProjectId)
| Method Detail |
|---|
public java.lang.String getOwnerProjectId()
public boolean isGlobal()
public static VcsRootScope globalScope()
public static VcsRootScope projectScope(@NotNull
java.lang.String ownerProjectId)
ownerProjectId - id of the owner project of the VCS root
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
public boolean isAccessibleFrom(@NotNull
SBuildType buildType)
buildType - build configuration
public boolean isAccessibleFrom(@NotNull
SProject project)
project - the project
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||