public class GerritApiBuilder extends Object
Constructor and Description |
---|
GerritApiBuilder() |
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.extensions.api.GerritApi |
build() |
GerritChecksApi |
buildChecksApi() |
GerritApiBuilder |
credentials(com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credentials) |
GerritApiBuilder |
credentials(String username,
String password) |
GerritApiBuilder |
gerritApiUrl(String gerritApiUrl) |
GerritApiBuilder |
gerritApiUrl(org.eclipse.jgit.transport.URIish gerritApiUrl) |
GerritApiBuilder |
insecureHttps(Boolean insecureHttps) |
GerritApiBuilder |
logger(PrintStream logger) |
GerritApiBuilder |
requireAuthentication() |
GerritApiBuilder |
stepContext(org.jenkinsci.plugins.workflow.steps.StepContext context) |
String |
toString() |
public GerritApiBuilder logger(PrintStream logger)
public GerritApiBuilder gerritApiUrl(org.eclipse.jgit.transport.URIish gerritApiUrl)
public GerritApiBuilder gerritApiUrl(String gerritApiUrl) throws URISyntaxException
URISyntaxException
public GerritApiBuilder insecureHttps(Boolean insecureHttps)
public GerritApiBuilder requireAuthentication()
public GerritApiBuilder credentials(String username, String password)
public GerritApiBuilder credentials(com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credentials)
public GerritApiBuilder stepContext(org.jenkinsci.plugins.workflow.steps.StepContext context) throws URISyntaxException, IOException, InterruptedException
public com.google.gerrit.extensions.api.GerritApi build()
public GerritChecksApi buildChecksApi()
Copyright © 2018–2024. All rights reserved.