public enum GitlabVisibility extends Enum<GitlabVisibility>
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns lower-case of
Enum.name() . |
static GitlabVisibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GitlabVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GitlabVisibility PRIVATE
public static final GitlabVisibility INTERNAL
public static final GitlabVisibility PUBLIC
public static GitlabVisibility[] values()
for (GitlabVisibility c : GitlabVisibility.values()) System.out.println(c);
public static GitlabVisibility 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()
Enum.name()
. Lower-case is required for requests
that accept a visiblity parameter.toString
in class Enum<GitlabVisibility>
Copyright © 2019. All rights reserved.