Uses of Enum
org.gitlab4j.api.GitLabApi.ApiVersion
Packages that use GitLabApi.ApiVersion
-
Uses of GitLabApi.ApiVersion in org.gitlab4j.api
Methods in org.gitlab4j.api that return GitLabApi.ApiVersionModifier and TypeMethodDescriptionprotected GitLabApi.ApiVersion
AbstractApi.getApiVersion()
GitLabApi.getApiVersion()
Return the GitLab API version that this instance is using.static GitLabApi.ApiVersion
Returns the enum constant of this type with the specified name.static GitLabApi.ApiVersion[]
GitLabApi.ApiVersion.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.gitlab4j.api with parameters of type GitLabApi.ApiVersionModifier and TypeMethodDescriptionprotected boolean
AbstractApi.isApiVersion
(GitLabApi.ApiVersion apiVersion) static GitLabApi
GitLabApi.oauth2Login
(GitLabApi.ApiVersion apiVersion, String url, String username, char[] password, String secretToken, Map<String, Object> clientConfigProperties, boolean ignoreCertificateErrors) Logs into GitLab using OAuth2 with the providedusername
andpassword
, and creates a newGitLabApi
instance using returned access token.static GitLabApi
GitLabApi.oauth2Login
(GitLabApi.ApiVersion apiVersion, String url, String username, CharSequence password, String secretToken, Map<String, Object> clientConfigProperties, boolean ignoreCertificateErrors) Logs into GitLab using OAuth2 with the providedusername
andpassword
, and creates a newGitLabApi
instance using returned access token.Constructors in org.gitlab4j.api with parameters of type GitLabApi.ApiVersionModifierConstructorDescriptionGitLabApi
(GitLabApi.ApiVersion apiVersion, String hostUrl, String personalAccessToken) Constructs a GitLabApi instance set up to interact with the GitLab server using the specified GitLab API version.GitLabApi
(GitLabApi.ApiVersion apiVersion, String hostUrl, String personalAccessToken, String secretToken) Constructs a GitLabApi instance set up to interact with the GitLab server using the specified GitLab API version.GitLabApi
(GitLabApi.ApiVersion apiVersion, String hostUrl, String personalAccessToken, String secretToken, Map<String, Object> clientConfigProperties) Constructs a GitLabApi instance set up to interact with the GitLab server specified by GitLab API version.GitLabApi
(GitLabApi.ApiVersion apiVersion, String hostUrl, Constants.TokenType tokenType, String authToken) Constructs a GitLabApi instance set up to interact with the GitLab server using the specified GitLab API version.GitLabApi
(GitLabApi.ApiVersion apiVersion, String hostUrl, Constants.TokenType tokenType, String authToken, String secretToken) Constructs a GitLabApi instance set up to interact with the GitLab server using the specified GitLab API version.GitLabApi
(GitLabApi.ApiVersion apiVersion, String hostUrl, Constants.TokenType tokenType, String authToken, String secretToken, Map<String, Object> clientConfigProperties) Constructs a GitLabApi instance set up to interact with the GitLab server specified by GitLab API version.GitLabApiClient
(GitLabApi.ApiVersion apiVersion, String hostUrl, String privateToken) Construct an instance to communicate with a GitLab API server using the specified GitLab API version, server URL, private token, and secret token.GitLabApiClient
(GitLabApi.ApiVersion apiVersion, String hostUrl, String privateToken, String secretToken) Construct an instance to communicate with a GitLab API server using the specified GitLab API version, server URL, private token, and secret token.GitLabApiClient
(GitLabApi.ApiVersion apiVersion, String hostUrl, String privateToken, String secretToken, Map<String, Object> clientConfigProperties) Construct an instance to communicate with a GitLab API server using the specified GitLab API version, server URL and private token.GitLabApiClient
(GitLabApi.ApiVersion apiVersion, String hostUrl, Constants.TokenType tokenType, String authToken) Construct an instance to communicate with a GitLab API server using the specified GitLab API version, server URL, auth token type, private or access token, and secret token.GitLabApiClient
(GitLabApi.ApiVersion apiVersion, String hostUrl, Constants.TokenType tokenType, String authToken, String secretToken) Construct an instance to communicate with a GitLab API server using the specified GitLab API version, server URL, private token, and secret token.GitLabApiClient
(GitLabApi.ApiVersion apiVersion, String hostUrl, Constants.TokenType tokenType, String authToken, String secretToken, Map<String, Object> clientConfigProperties) Construct an instance to communicate with a GitLab API server using the specified GitLab API version, server URL and private token.