Class BambooRole
- java.lang.Object
-
- com.atlassian.bamboo.testutils.user.BambooPrincipal
-
- com.atlassian.bamboo.testutils.user.BambooRole
-
public class BambooRole extends BambooPrincipal
-
-
Field Summary
Fields Modifier and Type Field Description static BambooRole
ANONYMOUS
BambooPrincipalPermissions
permissions
static BambooRole
USER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull List<BambooRole>
allRoles()
boolean
equals(Object object)
String
getPrincipalName()
BambooPrincipalType
getPrincipalType()
int
hashCode()
-
Methods inherited from class com.atlassian.bamboo.testutils.user.BambooPrincipal
forGroup, forUser, getSid, toString
-
-
-
-
Field Detail
-
ANONYMOUS
public static final BambooRole ANONYMOUS
-
USER
public static final BambooRole USER
-
permissions
public final BambooPrincipalPermissions permissions
-
-
Method Detail
-
allRoles
@NotNull public static @NotNull List<BambooRole> allRoles()
-
getPrincipalType
public BambooPrincipalType getPrincipalType()
- Specified by:
getPrincipalType
in classBambooPrincipal
-
getPrincipalName
public String getPrincipalName()
- Specified by:
getPrincipalName
in classBambooPrincipal
-
-