public enum RepositoryVisibility extends Enum<RepositoryVisibility>
repository.RepositorySearchRequest.getVisibility()| Enum Constant and Description |
|---|
PRIVATE
Indicates that a repository is accessible only to authenticated users
|
PUBLIC
Indicates that a repository is accessible to unauthenticated users
|
| Modifier and Type | Method and Description |
|---|---|
static RepositoryVisibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryVisibility PRIVATE
public static final RepositoryVisibility PUBLIC
public static RepositoryVisibility[] values()
for (RepositoryVisibility c : RepositoryVisibility.values()) System.out.println(c);
public static RepositoryVisibility 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 nullCopyright © 2021 Atlassian. All rights reserved.