jetbrains.buildServer.serverSide.auth
Class RoleScope
java.lang.Object
jetbrains.buildServer.serverSide.auth.RoleScope
public class RoleScope
- extends java.lang.Object
Represents scope of the role when role is associated with a user.
Role can have either global or project scope.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
getProjectId
public java.lang.String getProjectId()
isGlobal
public boolean isGlobal()
globalScope
public static RoleScope globalScope()
projectScope
public static RoleScope projectScope(@NotNull
java.lang.String projectId)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object