public enum BitbucketAccessLevel extends Enum<BitbucketAccessLevel>
Enum Constant and Description |
---|
PRIVATE
Private repositories require a user to be authenticated to gain access to the repository.
|
PUBLIC
Public repositories do not require authentication (they allow anonymous READ access).
|
Modifier and Type | Method and Description |
---|---|
List<BitbucketAuthenticationType> |
getSupportedAuthenticationTypes()
Obtain a list of authentication types supported by the specific access level.
|
static BitbucketAccessLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BitbucketAccessLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BitbucketAccessLevel PUBLIC
public static final BitbucketAccessLevel PRIVATE
public static BitbucketAccessLevel[] values()
for (BitbucketAccessLevel c : BitbucketAccessLevel.values()) System.out.println(c);
public static BitbucketAccessLevel 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 null@NotNull public List<BitbucketAuthenticationType> getSupportedAuthenticationTypes()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.