Enum TokenStorageQuery.ProjectScopeMatchMode
- java.lang.Object
-
- java.lang.Enum<TokenStorageQuery.ProjectScopeMatchMode>
-
- jetbrains.buildServer.serverSide.oauth.TokenStorageQuery.ProjectScopeMatchMode
-
- All Implemented Interfaces:
Serializable
,Comparable<TokenStorageQuery.ProjectScopeMatchMode>
- Enclosing class:
- TokenStorageQuery
public static enum TokenStorageQuery.ProjectScopeMatchMode extends Enum<TokenStorageQuery.ProjectScopeMatchMode>
Determines how the token's project scope will be matched against the storage query.- Since:
- 2024.07
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAIN_ALL
The project scope of the token must contain all entries of the query's scope but can contain additional entries.EXACTLY
The project scope of the token must match the query's scope exactly.PERMITTED
The project scope of the token must contain a parent project to at least one of the projects in the query's scope.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TokenStorageQuery.ProjectScopeMatchMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static TokenStorageQuery.ProjectScopeMatchMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXACTLY
public static final TokenStorageQuery.ProjectScopeMatchMode EXACTLY
The project scope of the token must match the query's scope exactly.
-
CONTAIN_ALL
public static final TokenStorageQuery.ProjectScopeMatchMode CONTAIN_ALL
The project scope of the token must contain all entries of the query's scope but can contain additional entries.
-
PERMITTED
public static final TokenStorageQuery.ProjectScopeMatchMode PERMITTED
The project scope of the token must contain a parent project to at least one of the projects in the query's scope.- Since:
- 2024.12
-
-
Method Detail
-
values
public static TokenStorageQuery.ProjectScopeMatchMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TokenStorageQuery.ProjectScopeMatchMode c : TokenStorageQuery.ProjectScopeMatchMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TokenStorageQuery.ProjectScopeMatchMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-