@Generated(value="OracleSDKGenerator", comments="API Version: 20220421") public final class GitHubActionsConfiguration extends VerifyConfiguration
Extends a Verify configuration with appropriate data to reach and use the build service provided
by a GitHub Action.
Note: Objects should always be created or deserialized using the GitHubActionsConfiguration.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the GitHubActionsConfiguration.Builder
, which maintain a
set of all explicitly set fields called GitHubActionsConfiguration.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
GitHubActionsConfiguration.Builder |
VerifyConfiguration.BuildServiceType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
GitHubActionsConfiguration(String repositoryUrl,
String patSecretId,
String username,
String workflowName,
Map<String,String> additionalParameters)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static GitHubActionsConfiguration.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Map<String,String> |
getAdditionalParameters()
Additional key-value pairs passed as parameters to the build service when running an
experiment.
|
String |
getPatSecretId()
The Oracle Cloud Identifier
(OCID) of the
Private Access Token (PAT) Secret.
|
String |
getRepositoryUrl()
The location of the repository where the GitHub Actions is defined.
|
String |
getUsername()
The username that will trigger the GitHub Action.
|
String |
getWorkflowName()
The name of the GitHub Actions workflow that defines the build pipeline.
|
int |
hashCode() |
GitHubActionsConfiguration.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
public static GitHubActionsConfiguration.Builder builder()
Create a new builder.
public GitHubActionsConfiguration.Builder toBuilder()
public String getRepositoryUrl()
The location of the repository where the GitHub Actions is defined. For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName]
public String getPatSecretId()
The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the GitHub Action.
public String getUsername()
The username that will trigger the GitHub Action.
public String getWorkflowName()
The name of the GitHub Actions workflow that defines the build pipeline.
public Map<String,String> getAdditionalParameters()
Additional key-value pairs passed as parameters to the build service when running an experiment.
public String toString()
toString
in class VerifyConfiguration
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class VerifyConfiguration
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class VerifyConfiguration
public int hashCode()
hashCode
in class VerifyConfiguration
Copyright © 2016–2024. All rights reserved.