public static enum GitHubPAT.Type extends Enum<GitHubPAT.Type>
| Enum Constant and Description |
|---|
ACTION
Tokens used in GitHub actions.
|
FINE_GRAINED
Fine-grained access tokens.
|
REGULAR
User-generated classic access tokens.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRegexp() |
static GitHubPAT.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GitHubPAT.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GitHubPAT.Type REGULAR
public static final GitHubPAT.Type ACTION
public static final GitHubPAT.Type FINE_GRAINED
public static GitHubPAT.Type[] values()
for (GitHubPAT.Type c : GitHubPAT.Type.values()) System.out.println(c);
public static GitHubPAT.Type 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 getRegexp()
Copyright © 2023–2025 SEART. All rights reserved.