public class TestUser extends Object implements com.atlassian.bamboo.specs.util.UserPasswordCredentials
Modifier and Type | Field and Description |
---|---|
static TestUser |
A_USER |
static TestUser |
ADMIN |
static String |
ADMIN_NAME |
static Set<TestUser> |
autocreatedUsers |
static TestUser |
BOB_BUILDER |
String |
email |
boolean |
enabled |
String |
fullName |
Set<TestGroup> |
groups |
static String |
INTERNAL_DIRECTORY_NAME |
String |
jabberAddress |
static TestUser |
JOE_USER |
static String |
JOE_USER_NAME |
String |
password |
BambooPrincipalPermissions |
permissions |
static TestUser |
RESTRICTED_ADMIN |
String |
username |
Constructor and Description |
---|
TestUser(String username,
String password) |
TestUser(String username,
String password,
boolean enabled,
String fullName,
String email,
String jabberAddress,
Collection<TestGroup> groups) |
TestUser(String username,
String password,
Collection<TestGroup> groups) |
TestUser(String username,
String password,
String fullName,
String email,
Collection<TestGroup> groups) |
TestUser(String username,
String password,
String fullName,
String email,
String jabberAddress,
Collection<TestGroup> groups) |
Modifier and Type | Method and Description |
---|---|
static TestUser |
createSimpleUser(String username) |
static TestUser |
createUniqueUser(String usernamePrefix,
TestGroup... groups) |
static TestUser |
createUniqueUser(TestGroup... groups) |
String |
getEmail() |
String |
getFullName() |
Set<TestGroup> |
getGroups() |
String |
getPassword() |
String |
getUsername() |
String |
toString() |
public static final String ADMIN_NAME
public static final String INTERNAL_DIRECTORY_NAME
public static final TestUser ADMIN
public static final TestUser RESTRICTED_ADMIN
public static final TestUser BOB_BUILDER
public static final String JOE_USER_NAME
public static final TestUser JOE_USER
public static final TestUser A_USER
public final String username
public final String password
public final String fullName
public final String email
public final boolean enabled
public final String jabberAddress
public final BambooPrincipalPermissions permissions
public TestUser(String username, String password, String fullName, String email, Collection<TestGroup> groups)
public TestUser(String username, String password, String fullName, String email, String jabberAddress, Collection<TestGroup> groups)
public TestUser(String username, String password, boolean enabled, String fullName, String email, String jabberAddress, Collection<TestGroup> groups)
public TestUser(String username, String password, Collection<TestGroup> groups)
public String getUsername()
getUsername
in interface com.atlassian.bamboo.specs.util.UserPasswordCredentials
public String getPassword()
getPassword
in interface com.atlassian.bamboo.specs.util.UserPasswordCredentials
public String getFullName()
public String getEmail()
public static TestUser createUniqueUser(String usernamePrefix, TestGroup... groups)
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.