Class WorkflowTriggers.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.cdkpipelines.github.WorkflowTriggers.Jsii$Proxy
-
- All Implemented Interfaces:
WorkflowTriggers,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- WorkflowTriggers
@Stability(Stable) @Internal public static final class WorkflowTriggers.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements WorkflowTriggers
An implementation forWorkflowTriggers
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.cdkpipelines.github.WorkflowTriggers
WorkflowTriggers.Builder, WorkflowTriggers.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(WorkflowTriggers.Builder builder)Constructor that initializes the object based on literal property values passed by theWorkflowTriggers.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)CheckRunOptionsgetCheckRun()Runs your workflow anytime the check_run event occurs.CheckSuiteOptionsgetCheckSuite()Runs your workflow anytime the check_suite event occurs.CreateOptionsgetCreate()Runs your workflow anytime someone creates a branch or tag, which triggers the create event.DeleteOptionsgetDelete()Runs your workflow anytime someone deletes a branch or tag, which triggers the delete event.DeploymentOptionsgetDeployment()Runs your workflow anytime someone creates a deployment, which triggers the deployment event.DeploymentStatusOptionsgetDeploymentStatus()Runs your workflow anytime a third party provides a deployment status, which triggers the deployment_status event.ForkOptionsgetFork()Runs your workflow anytime when someone forks a repository, which triggers the fork event.GollumOptionsgetGollum()Runs your workflow when someone creates or updates a Wiki page, which triggers the gollum event.IssueCommentOptionsgetIssueComment()Runs your workflow anytime the issue_comment event occurs.IssuesOptionsgetIssues()Runs your workflow anytime the issues event occurs.LabelOptionsgetLabel()Runs your workflow anytime the label event occurs.MilestoneOptionsgetMilestone()Runs your workflow anytime the milestone event occurs.PageBuildOptionsgetPageBuild()Runs your workflow anytime someone pushes to a GitHub Pages-enabled branch, which triggers the page_build event.ProjectOptionsgetProject()Runs your workflow anytime the project event occurs.ProjectCardOptionsgetProjectCard()Runs your workflow anytime the project_card event occurs.ProjectColumnOptionsgetProjectColumn()Runs your workflow anytime the project_column event occurs.PublicOptionsgetPublicValue()Runs your workflow anytime someone makes a private repository public, which triggers the public event.PullRequestOptionsgetPullRequest()Runs your workflow anytime the pull_request event occurs.PullRequestReviewOptionsgetPullRequestReview()Runs your workflow anytime the pull_request_review event occurs.PullRequestReviewCommentOptionsgetPullRequestReviewComment()Runs your workflow anytime a comment on a pull request's unified diff is modified, which triggers the pull_request_review_comment event.PullRequestTargetOptionsgetPullRequestTarget()This event runs in the context of the base of the pull request, rather than in the merge commit as the pull_request event does.PushOptionsgetPush()Runs your workflow when someone pushes to a repository branch, which triggers the push event.RegistryPackageOptionsgetRegistryPackage()Runs your workflow anytime a package is published or updated.ReleaseOptionsgetRelease()Runs your workflow anytime the release event occurs.RepositoryDispatchOptionsgetRepositoryDispatch()You can use the GitHub API to trigger a webhook event called repository_dispatch when you want to trigger a workflow for activity that happens outside of GitHub.List<CronScheduleOptions>getSchedule()You can schedule a workflow to run at specific UTC times using POSIX cron syntax.StatusOptionsgetStatus()Runs your workflow anytime the status of a Git commit changes, which triggers the status event.WatchOptionsgetWatch()Runs your workflow anytime the watch event occurs.WorkflowDispatchOptionsgetWorkflowDispatch()You can configure custom-defined input properties, default input values, and required inputs for the event directly in your workflow.WorkflowRunOptionsgetWorkflowRun()This event occurs when a workflow run is requested or completed, and allows you to execute a workflow based on the finished result of another workflow.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(WorkflowTriggers.Builder builder)
Constructor that initializes the object based on literal property values passed by theWorkflowTriggers.Builder.
-
-
Method Detail
-
getCheckRun
public final CheckRunOptions getCheckRun()
Description copied from interface:WorkflowTriggersRuns your workflow anytime the check_run event occurs.- Specified by:
getCheckRunin interfaceWorkflowTriggers
-
getCheckSuite
public final CheckSuiteOptions getCheckSuite()
Description copied from interface:WorkflowTriggersRuns your workflow anytime the check_suite event occurs.- Specified by:
getCheckSuitein interfaceWorkflowTriggers
-
getCreate
public final CreateOptions getCreate()
Description copied from interface:WorkflowTriggersRuns your workflow anytime someone creates a branch or tag, which triggers the create event.- Specified by:
getCreatein interfaceWorkflowTriggers
-
getDelete
public final DeleteOptions getDelete()
Description copied from interface:WorkflowTriggersRuns your workflow anytime someone deletes a branch or tag, which triggers the delete event.- Specified by:
getDeletein interfaceWorkflowTriggers
-
getDeployment
public final DeploymentOptions getDeployment()
Description copied from interface:WorkflowTriggersRuns your workflow anytime someone creates a deployment, which triggers the deployment event.Deployments created with a commit SHA may not have a Git ref.
- Specified by:
getDeploymentin interfaceWorkflowTriggers
-
getDeploymentStatus
public final DeploymentStatusOptions getDeploymentStatus()
Description copied from interface:WorkflowTriggersRuns your workflow anytime a third party provides a deployment status, which triggers the deployment_status event.Deployments created with a commit SHA may not have a Git ref.
- Specified by:
getDeploymentStatusin interfaceWorkflowTriggers
-
getFork
public final ForkOptions getFork()
Description copied from interface:WorkflowTriggersRuns your workflow anytime when someone forks a repository, which triggers the fork event.- Specified by:
getForkin interfaceWorkflowTriggers
-
getGollum
public final GollumOptions getGollum()
Description copied from interface:WorkflowTriggersRuns your workflow when someone creates or updates a Wiki page, which triggers the gollum event.- Specified by:
getGollumin interfaceWorkflowTriggers
-
getIssueComment
public final IssueCommentOptions getIssueComment()
Description copied from interface:WorkflowTriggersRuns your workflow anytime the issue_comment event occurs.- Specified by:
getIssueCommentin interfaceWorkflowTriggers
-
getIssues
public final IssuesOptions getIssues()
Description copied from interface:WorkflowTriggersRuns your workflow anytime the issues event occurs.- Specified by:
getIssuesin interfaceWorkflowTriggers
-
getLabel
public final LabelOptions getLabel()
Description copied from interface:WorkflowTriggersRuns your workflow anytime the label event occurs.- Specified by:
getLabelin interfaceWorkflowTriggers
-
getMilestone
public final MilestoneOptions getMilestone()
Description copied from interface:WorkflowTriggersRuns your workflow anytime the milestone event occurs.- Specified by:
getMilestonein interfaceWorkflowTriggers
-
getPageBuild
public final PageBuildOptions getPageBuild()
Description copied from interface:WorkflowTriggersRuns your workflow anytime someone pushes to a GitHub Pages-enabled branch, which triggers the page_build event.- Specified by:
getPageBuildin interfaceWorkflowTriggers
-
getProject
public final ProjectOptions getProject()
Description copied from interface:WorkflowTriggersRuns your workflow anytime the project event occurs.- Specified by:
getProjectin interfaceWorkflowTriggers
-
getProjectCard
public final ProjectCardOptions getProjectCard()
Description copied from interface:WorkflowTriggersRuns your workflow anytime the project_card event occurs.- Specified by:
getProjectCardin interfaceWorkflowTriggers
-
getProjectColumn
public final ProjectColumnOptions getProjectColumn()
Description copied from interface:WorkflowTriggersRuns your workflow anytime the project_column event occurs.- Specified by:
getProjectColumnin interfaceWorkflowTriggers
-
getPublicValue
public final PublicOptions getPublicValue()
Description copied from interface:WorkflowTriggersRuns your workflow anytime someone makes a private repository public, which triggers the public event.- Specified by:
getPublicValuein interfaceWorkflowTriggers
-
getPullRequest
public final PullRequestOptions getPullRequest()
Description copied from interface:WorkflowTriggersRuns your workflow anytime the pull_request event occurs.- Specified by:
getPullRequestin interfaceWorkflowTriggers
-
getPullRequestReview
public final PullRequestReviewOptions getPullRequestReview()
Description copied from interface:WorkflowTriggersRuns your workflow anytime the pull_request_review event occurs.- Specified by:
getPullRequestReviewin interfaceWorkflowTriggers
-
getPullRequestReviewComment
public final PullRequestReviewCommentOptions getPullRequestReviewComment()
Description copied from interface:WorkflowTriggersRuns your workflow anytime a comment on a pull request's unified diff is modified, which triggers the pull_request_review_comment event.- Specified by:
getPullRequestReviewCommentin interfaceWorkflowTriggers
-
getPullRequestTarget
public final PullRequestTargetOptions getPullRequestTarget()
Description copied from interface:WorkflowTriggersThis event runs in the context of the base of the pull request, rather than in the merge commit as the pull_request event does.This prevents executing unsafe workflow code from the head of the pull request that could alter your repository or steal any secrets you use in your workflow. This event allows you to do things like create workflows that label and comment on pull requests based on the contents of the event payload.
WARNING: The
pull_request_targetevent is granted read/write repository token and can access secrets, even when it is triggered from a fork. Although the workflow runs in the context of the base of the pull request, you should make sure that you do not check out, build, or run untrusted code from the pull request with this event. Additionally, any caches share the same scope as the base branch, and to help prevent cache poisoning, you should not save the cache if there is a possibility that the cache contents were altered.- Specified by:
getPullRequestTargetin interfaceWorkflowTriggers- See Also:
- https://securitylab.github.com/research/github-actions-preventing-pwn-requests
-
getPush
public final PushOptions getPush()
Description copied from interface:WorkflowTriggersRuns your workflow when someone pushes to a repository branch, which triggers the push event.- Specified by:
getPushin interfaceWorkflowTriggers
-
getRegistryPackage
public final RegistryPackageOptions getRegistryPackage()
Description copied from interface:WorkflowTriggersRuns your workflow anytime a package is published or updated.- Specified by:
getRegistryPackagein interfaceWorkflowTriggers
-
getRelease
public final ReleaseOptions getRelease()
Description copied from interface:WorkflowTriggersRuns your workflow anytime the release event occurs.- Specified by:
getReleasein interfaceWorkflowTriggers
-
getRepositoryDispatch
public final RepositoryDispatchOptions getRepositoryDispatch()
Description copied from interface:WorkflowTriggersYou can use the GitHub API to trigger a webhook event called repository_dispatch when you want to trigger a workflow for activity that happens outside of GitHub.- Specified by:
getRepositoryDispatchin interfaceWorkflowTriggers
-
getSchedule
public final List<CronScheduleOptions> getSchedule()
Description copied from interface:WorkflowTriggersYou can schedule a workflow to run at specific UTC times using POSIX cron syntax.Scheduled workflows run on the latest commit on the default or base branch. The shortest interval you can run scheduled workflows is once every 5 minutes.
- Specified by:
getSchedulein interfaceWorkflowTriggers- See Also:
- https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07
-
getStatus
public final StatusOptions getStatus()
Description copied from interface:WorkflowTriggersRuns your workflow anytime the status of a Git commit changes, which triggers the status event.- Specified by:
getStatusin interfaceWorkflowTriggers
-
getWatch
public final WatchOptions getWatch()
Description copied from interface:WorkflowTriggersRuns your workflow anytime the watch event occurs.- Specified by:
getWatchin interfaceWorkflowTriggers
-
getWorkflowDispatch
public final WorkflowDispatchOptions getWorkflowDispatch()
Description copied from interface:WorkflowTriggersYou can configure custom-defined input properties, default input values, and required inputs for the event directly in your workflow.When the workflow runs, you can access the input values in the github.event.inputs context.
- Specified by:
getWorkflowDispatchin interfaceWorkflowTriggers
-
getWorkflowRun
public final WorkflowRunOptions getWorkflowRun()
Description copied from interface:WorkflowTriggersThis event occurs when a workflow run is requested or completed, and allows you to execute a workflow based on the finished result of another workflow.A workflow run is triggered regardless of the result of the previous workflow.
- Specified by:
getWorkflowRunin interfaceWorkflowTriggers
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-