public enum GitlabAccessLevel extends 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(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(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 static GitlabAccessLevel fromAccessValue(int accessValue) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2017. All Rights Reserved.