com.atlassian.bamboo.testutils.user
Enum TestUser

java.lang.Object
  extended by java.lang.Enum<TestUser>
      extended by com.atlassian.bamboo.testutils.user.TestUser
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TestUser>

public enum TestUser
extends java.lang.Enum<TestUser>


Enum Constant Summary
ADMIN
           
BOB_BUILDER
           
JOE_USER
           
 
Field Summary
static java.util.EnumSet<TestUser> autocreatedUsers
           
 java.lang.String email
           
 java.lang.String fullName
           
 java.util.EnumSet<TestGroup> groups
           
 java.lang.String password
           
static com.google.common.base.Function<TestUser,java.lang.String> toUserName
           
 java.lang.String username
           
 
Method Summary
static TestUser valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TestUser[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADMIN

public static final TestUser ADMIN

BOB_BUILDER

public static final TestUser BOB_BUILDER

JOE_USER

public static final TestUser JOE_USER
Field Detail

autocreatedUsers

public static final java.util.EnumSet<TestUser> autocreatedUsers

toUserName

public static final com.google.common.base.Function<TestUser,java.lang.String> toUserName

username

public final java.lang.String username

password

public final java.lang.String password

fullName

public final java.lang.String fullName

email

public final java.lang.String email

groups

public final java.util.EnumSet<TestGroup> groups
Method Detail

values

public static TestUser[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TestUser c : TestUser.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TestUser valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.