public static enum Constants.DeployTokenScope extends Enum<Constants.DeployTokenScope>
Enum Constant and Description |
---|
READ_REGISTRY |
READ_REPOSITORY |
Modifier and Type | Method and Description |
---|---|
static Constants.DeployTokenScope |
forValue(String value) |
String |
toString() |
String |
toValue() |
static Constants.DeployTokenScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.DeployTokenScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.DeployTokenScope READ_REPOSITORY
public static final Constants.DeployTokenScope READ_REGISTRY
public static Constants.DeployTokenScope[] values()
for (Constants.DeployTokenScope c : Constants.DeployTokenScope.values()) System.out.println(c);
public static Constants.DeployTokenScope 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 Constants.DeployTokenScope forValue(String value)
public String toValue()
public String toString()
toString
in class Enum<Constants.DeployTokenScope>
Copyright © 2020. All rights reserved.