public enum StashPermissionLevel extends Enum<StashPermissionLevel>
Modifier and Type | Method and Description |
---|---|
static @NotNull StashPermissionLevel |
valueOf(@NotNull Optional<com.atlassian.stash.rest.client.api.entity.Permission> permissionOpt) |
static StashPermissionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StashPermissionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StashPermissionLevel NONE
public static final StashPermissionLevel READ
public static final StashPermissionLevel WRITE
public static final StashPermissionLevel ADMIN
public static StashPermissionLevel[] values()
for (StashPermissionLevel c : StashPermissionLevel.values()) System.out.println(c);
public static StashPermissionLevel 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 static @NotNull StashPermissionLevel valueOf(@NotNull @NotNull Optional<com.atlassian.stash.rest.client.api.entity.Permission> permissionOpt)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.