Enum VcsInformationProvider.Capabilities
- java.lang.Object
-
- java.lang.Enum<VcsInformationProvider.Capabilities>
-
- jetbrains.buildServer.vcshostings.VcsInformationProvider.Capabilities
-
- All Implemented Interfaces:
Serializable
,Comparable<VcsInformationProvider.Capabilities>
- Enclosing interface:
- VcsInformationProvider
public static enum VcsInformationProvider.Capabilities extends Enum<VcsInformationProvider.Capabilities>
Provider capabilities- See Also:
the provider can list repositories
,the provider can use paging for listing repositories
,the provider is capable of defining a non-default page size for such a listing
,the provider supports textual search by a fragment of a repository name
,the provider is capable of detecting the default branch of a repository by its name
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BRANCHES
BRANCHES_PAGE_SIZE
BRANCHES_PAGING
BRANCHES_SEARCH
DEFAULT_BRANCH
REPOS
REPOS_PAGE_SIZE
REPOS_PAGING
REPOS_SEARCH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VcsInformationProvider.Capabilities
valueOf(String name)
Returns the enum constant of this type with the specified name.static VcsInformationProvider.Capabilities[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPOS
public static final VcsInformationProvider.Capabilities REPOS
-
REPOS_PAGING
public static final VcsInformationProvider.Capabilities REPOS_PAGING
-
REPOS_PAGE_SIZE
public static final VcsInformationProvider.Capabilities REPOS_PAGE_SIZE
-
REPOS_SEARCH
public static final VcsInformationProvider.Capabilities REPOS_SEARCH
-
DEFAULT_BRANCH
public static final VcsInformationProvider.Capabilities DEFAULT_BRANCH
-
BRANCHES
public static final VcsInformationProvider.Capabilities BRANCHES
-
BRANCHES_PAGING
public static final VcsInformationProvider.Capabilities BRANCHES_PAGING
-
BRANCHES_PAGE_SIZE
public static final VcsInformationProvider.Capabilities BRANCHES_PAGE_SIZE
-
BRANCHES_SEARCH
public static final VcsInformationProvider.Capabilities BRANCHES_SEARCH
-
-
Method Detail
-
values
public static VcsInformationProvider.Capabilities[] 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 (VcsInformationProvider.Capabilities c : VcsInformationProvider.Capabilities.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VcsInformationProvider.Capabilities 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
-
-