Class GitLabHelper
java.lang.Object
io.jenkins.plugins.gitlabbranchsource.helpers.GitLabHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.gitlab4j.api.GitLabApi
apiBuilder
(AccessControlled context, String serverName) static com.damnhandy.uri.template.UriTemplate
branchUriTemplate
(String serverNameOrUrl) static com.damnhandy.uri.template.UriTemplate
commitUriTemplate
(String serverNameOrUrl) static String
getPrivateTokenAsPlainText
(com.cloudbees.plugins.credentials.common.StandardCredentials credentials) getProxyConfig
(String serverUrl) static String
getServerUrl
(GitLabServer server) static String
getServerUrlFromName
(String serverName) static com.damnhandy.uri.template.UriTemplateBuilder
getUriTemplateFromServer
(String server) static com.damnhandy.uri.template.UriTemplate
mergeRequestUriTemplate
(String serverNameOrUrl) static com.damnhandy.uri.template.UriTemplate
projectUriTemplate
(String serverNameOrUrl) static String[]
static com.damnhandy.uri.template.UriTemplate
tagUriTemplate
(String serverNameOrUrl)
-
Constructor Details
-
GitLabHelper
public GitLabHelper()
-
-
Method Details
-
apiBuilder
-
getProxyConfig
-
getServerUrlFromName
-
getServerUrl
-
getPrivateTokenAsPlainText
public static String getPrivateTokenAsPlainText(com.cloudbees.plugins.credentials.common.StandardCredentials credentials) -
getUriTemplateFromServer
-
projectUriTemplate
-
branchUriTemplate
-
mergeRequestUriTemplate
public static com.damnhandy.uri.template.UriTemplate mergeRequestUriTemplate(String serverNameOrUrl) -
tagUriTemplate
-
commitUriTemplate
-
splitPath
-