public final class GitHubActionConfiguration extends Object
| Constructor and Description |
|---|
GitHubActionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
GitHubActionCodeConfiguration |
codeConfiguration()
Get the codeConfiguration property: GitHub Action code configuration.
|
GitHubActionContainerConfiguration |
containerConfiguration()
Get the containerConfiguration property: GitHub Action container configuration.
|
Boolean |
generateWorkflowFile()
Get the generateWorkflowFile property: Workflow option to determine whether the workflow file should be generated
and written to the repository.
|
Boolean |
isLinux()
Get the isLinux property: This will help determine the workflow configuration to select.
|
void |
validate()
Validates the instance.
|
GitHubActionConfiguration |
withCodeConfiguration(GitHubActionCodeConfiguration codeConfiguration)
Set the codeConfiguration property: GitHub Action code configuration.
|
GitHubActionConfiguration |
withContainerConfiguration(GitHubActionContainerConfiguration containerConfiguration)
Set the containerConfiguration property: GitHub Action container configuration.
|
GitHubActionConfiguration |
withGenerateWorkflowFile(Boolean generateWorkflowFile)
Set the generateWorkflowFile property: Workflow option to determine whether the workflow file should be generated
and written to the repository.
|
GitHubActionConfiguration |
withIsLinux(Boolean isLinux)
Set the isLinux property: This will help determine the workflow configuration to select.
|
public GitHubActionCodeConfiguration codeConfiguration()
public GitHubActionConfiguration withCodeConfiguration(GitHubActionCodeConfiguration codeConfiguration)
codeConfiguration - the codeConfiguration value to set.public GitHubActionContainerConfiguration containerConfiguration()
public GitHubActionConfiguration withContainerConfiguration(GitHubActionContainerConfiguration containerConfiguration)
containerConfiguration - the containerConfiguration value to set.public Boolean isLinux()
public GitHubActionConfiguration withIsLinux(Boolean isLinux)
isLinux - the isLinux value to set.public Boolean generateWorkflowFile()
public GitHubActionConfiguration withGenerateWorkflowFile(Boolean generateWorkflowFile)
generateWorkflowFile - the generateWorkflowFile value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.