Package | Description |
---|---|
org.gitlab4j.api |
Modifier and Type | Method and Description |
---|---|
GitLabApi.ApiVersion |
GitLabApi.getApiVersion()
Return the GitLab API version that this instance is using.
|
protected GitLabApi.ApiVersion |
AbstractApi.getApiVersion() |
static GitLabApi.ApiVersion |
GitLabApi.ApiVersion.valueOf(String name)
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.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractApi.isApiVersion(GitLabApi.ApiVersion apiVersion) |
static GitLabApi |
GitLabApi.login(GitLabApi.ApiVersion apiVersion,
String url,
String username,
String password)
Deprecated.
As of release 4.8.7, will be removed in 4.9.0
|
static GitLabApi |
GitLabApi.login(GitLabApi.ApiVersion apiVersion,
String url,
String username,
String password,
boolean ignoreCertificateErrors)
Deprecated.
As of release 4.8.7, will be removed in 4.9.0
|
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. |
Constructor and Description |
---|
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.
|
GitLabApi(GitLabApi.ApiVersion apiVersion,
String hostUrl,
Session session)
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 privateToken)
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 privateToken,
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 privateToken,
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,
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.
|
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.
|
Copyright © 2019. All rights reserved.