public enum TestLinkUser extends Enum<TestLinkUser>
Modifier and Type | Method and Description |
---|---|
static TestLinkUser |
getTestLinkUser(Integer value)
Get user type from a given value.
|
String |
toString()
Print user.
|
static TestLinkUser |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestLinkUser[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestLinkUser NOBODY
public static final TestLinkUser SOMEBODY
public static final TestLinkUser NO_USER
public static final TestLinkUser ANYBODY
public static TestLinkUser[] values()
for (TestLinkUser c : TestLinkUser.values()) System.out.println(c);
public static TestLinkUser valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<TestLinkUser>
public static TestLinkUser getTestLinkUser(Integer value)
value
- a given valueCopyright © 2010–2020. All rights reserved.