Class PushOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.github.workflows.PushOptions.Jsii$Proxy
-
- All Implemented Interfaces:
PushOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PushOptions
@Stability(Experimental) @Internal public static final class PushOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PushOptions
An implementation forPushOptions
-
-
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.projen.github.workflows.PushOptions
PushOptions.Builder, PushOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(PushOptions.Builder builder)Constructor that initializes the object based on literal property values passed by thePushOptions.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)List<String>getBranches()(experimental) When using the push, pull_request and pull_request_target events, you can configure a workflow to run on specific branches or tags.List<String>getPaths()(experimental) When using the push, pull_request and pull_request_target events, you can configure a workflow to run when at least one file does not match paths-ignore or at least one modified file matches the configured paths.List<String>getTags()(experimental) When using the push, pull_request and pull_request_target events, you can configure a workflow to run on specific branches or tags.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(PushOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by thePushOptions.Builder.
-
-
Method Detail
-
getBranches
public final List<String> getBranches()
Description copied from interface:PushOptions(experimental) When using the push, pull_request and pull_request_target events, you can configure a workflow to run on specific branches or tags.For a pull_request event, only branches and tags on the base are evaluated. If you define only tags or only branches, the workflow won't run for events affecting the undefined Git ref.
- Specified by:
getBranchesin interfacePushOptions- See Also:
- https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
-
getPaths
public final List<String> getPaths()
Description copied from interface:PushOptions(experimental) When using the push, pull_request and pull_request_target events, you can configure a workflow to run when at least one file does not match paths-ignore or at least one modified file matches the configured paths.Path filters are not evaluated for pushes to tags.
- Specified by:
getPathsin interfacePushOptions- See Also:
- https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
-
getTags
public final List<String> getTags()
Description copied from interface:PushOptions(experimental) When using the push, pull_request and pull_request_target events, you can configure a workflow to run on specific branches or tags.For a pull_request event, only branches and tags on the base are evaluated. If you define only tags or only branches, the workflow won't run for events affecting the undefined Git ref.
- Specified by:
getTagsin interfacePushOptions- See Also:
- https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-