public class ReviewBoardServerConfiguration extends hudson.model.AbstractDescribableImpl<ReviewBoardServerConfiguration>
| Modifier and Type | Class and Description |
|---|---|
static class |
ReviewBoardServerConfiguration.DescriptorImpl
Provides the description of the notification build step and validation
functions for fields in its configuration form.
|
| Constructor and Description |
|---|
ReviewBoardServerConfiguration(String reviewBoardURL,
String credentialsId)
Constructs the server configuration with the given name, Review Board
URL and API token.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCredentialsId()
Returns the credentials ID, which is used to store the API token.
|
String |
getReviewBoardAPIToken()
Fetch the Review Board API token from the credential provider.
|
String |
getReviewBoardURL()
Returns the Review Board endpoint.
|
@DataBoundConstructor public ReviewBoardServerConfiguration(String reviewBoardURL, String credentialsId)
reviewBoardURL - Review Board server URLcredentialsId - Credentials identifierpublic String getReviewBoardURL()
public String getCredentialsId()
public String getReviewBoardAPIToken()
Copyright © 2016–2019. All rights reserved.