public enum GitlabAccessLevel extends java.lang.Enum<GitlabAccessLevel>
| Enum Constant and Description |
|---|
Developer |
Guest |
Master |
Owner |
Reporter |
| Modifier and Type | Field and Description |
|---|---|
int |
accessValue |
| Modifier and Type | Method and Description |
|---|---|
static GitlabAccessLevel |
fromAccessValue(int accessValue) |
static GitlabAccessLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GitlabAccessLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GitlabAccessLevel Guest
public static final GitlabAccessLevel Reporter
public static final GitlabAccessLevel Developer
public static final GitlabAccessLevel Master
public static final GitlabAccessLevel Owner
public static GitlabAccessLevel[] values()
for (GitlabAccessLevel c : GitlabAccessLevel.values()) System.out.println(c);
public static GitlabAccessLevel valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static GitlabAccessLevel fromAccessValue(int accessValue) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionCopyright © 2017. All Rights Reserved.