org.sonar.api.security
Class GroupRole
java.lang.Object
org.sonar.api.database.BaseIdentifiable
org.sonar.api.security.GroupRole
public class GroupRole
- extends BaseIdentifiable
- Since:
- 1.12
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ANYONE_GROUP_ID
public static final Integer ANYONE_GROUP_ID
GroupRole
public GroupRole()
buildGlobalRole
public static GroupRole buildGlobalRole(Integer groupId,
String role)
buildResourceRole
public static GroupRole buildResourceRole(Integer groupId,
String role,
Integer resourceId)
getGroupId
public Integer getGroupId()
setGroupId
public GroupRole setGroupId(Integer groupId)
getRole
public String getRole()
setRole
public GroupRole setRole(String role)
getResourceId
public Integer getResourceId()
setResourceId
public GroupRole setResourceId(Integer resourceId)
isAnyone
public boolean isAnyone()
Copyright © 2009-2010 SonarSource. All Rights Reserved.