-
Methods in org.gitlab4j.api with parameters of type GitLabApi.ApiVersion
Modifier and Type |
Method |
Description |
protected 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 provided username and password ,
and creates a new GitLabApi 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 provided username and password ,
and creates a new GitLabApi instance using returned access token.
|
Constructors in org.gitlab4j.api with parameters of type GitLabApi.ApiVersion
Constructor |
Description |
GitLabApi(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.
|