| Package | Description |
|---|---|
| org.gitlab4j.api |
| Modifier and Type | Method and Description |
|---|---|
Constants.TokenType |
GitLabApi.getTokenType()
Get the TokenType this client is using.
|
static Constants.TokenType |
Constants.TokenType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.TokenType[] |
Constants.TokenType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| 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(String hostUrl,
Constants.TokenType tokenType,
String authToken)
Constructs a GitLabApi instance set up to interact with the GitLab server using GitLab API version 4.
|
GitLabApi(String hostUrl,
Constants.TokenType tokenType,
String authToken,
String secretToken)
Constructs a GitLabApi instance set up to interact with the GitLab server using GitLab API version 4.
|
GitLabApi(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 using GitLab API version 4.
|
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(String hostUrl,
Constants.TokenType tokenType,
String authToken)
Construct an instance to communicate with a GitLab API server using GitLab API version 4, and the specified
server URL, private token, and secret token.
|
GitLabApiClient(String hostUrl,
Constants.TokenType tokenType,
String authToken,
String secretToken)
Construct an instance to communicate with a GitLab API server using GitLab API version 4, and the specified
server URL, private token, and secret token.
|
Copyright © 2021. All rights reserved.