Package io.github.cdklabs.projen.github
Class TaskWorkflowJobOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.github.TaskWorkflowJobOptions.Jsii$Proxy
-
- All Implemented Interfaces:
TaskWorkflowJobOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- TaskWorkflowJobOptions
@Stability(Experimental) @Internal public static final class TaskWorkflowJobOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TaskWorkflowJobOptions
An implementation forTaskWorkflowJobOptions
-
-
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.TaskWorkflowJobOptions
TaskWorkflowJobOptions.Builder, TaskWorkflowJobOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(TaskWorkflowJobOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theTaskWorkflowJobOptions.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)StringgetArtifactsDirectory()(experimental) A directory name which contains artifacts to be uploaded (e.g.CheckoutWithgetCheckoutWith()(experimental) Override for thewithproperty of the source code checkout step.StringgetCondition()(experimental) Adds an 'if' condition to the workflow.ContainerOptionsgetContainer()Default: - default imageBooleangetDownloadLfs()(experimental) Whether to download files from Git LFS for this workflow.Map<String,String>getEnv()(experimental) Workflow environment variables.GitIdentitygetGitIdentity()(experimental) The git identity to use in this workflow.JobDefaultsgetJobDefaults()(experimental) Default settings for all steps in the TaskWorkflow Job.Map<String,JobStepOutput>getOutputs()(experimental) Mapping of job output names to values/expressions.JobPermissionsgetPermissions()(experimental) Permissions for the build job.List<JobStep>getPostBuildSteps()(experimental) Actions to run after the main build step.List<JobStep>getPreBuildSteps()(experimental) Steps to run before the main build step.List<JobStep>getPreCheckoutSteps()(experimental) Initial steps to run before the source code checkout.List<String>getRunsOn()(experimental) Github Runner selection labels.GroupRunnerOptionsgetRunsOnGroup()(experimental) Github Runner Group selection options.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(TaskWorkflowJobOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theTaskWorkflowJobOptions.Builder.
-
-
Method Detail
-
getPermissions
public final JobPermissions getPermissions()
Description copied from interface:TaskWorkflowJobOptions(experimental) Permissions for the build job.- Specified by:
getPermissionsin interfaceTaskWorkflowJobOptions
-
getArtifactsDirectory
public final String getArtifactsDirectory()
Description copied from interface:TaskWorkflowJobOptions(experimental) A directory name which contains artifacts to be uploaded (e.g.dist). If this is set, the contents of this directory will be uploaded as an artifact at the end of the workflow run, even if other steps fail.Default: - not set
- Specified by:
getArtifactsDirectoryin interfaceTaskWorkflowJobOptions
-
getCheckoutWith
public final CheckoutWith getCheckoutWith()
Description copied from interface:TaskWorkflowJobOptions(experimental) Override for thewithproperty of the source code checkout step.Default: - not set
- Specified by:
getCheckoutWithin interfaceTaskWorkflowJobOptions
-
getCondition
public final String getCondition()
Description copied from interface:TaskWorkflowJobOptions(experimental) Adds an 'if' condition to the workflow.- Specified by:
getConditionin interfaceTaskWorkflowJobOptions
-
getContainer
public final ContainerOptions getContainer()
Description copied from interface:TaskWorkflowJobOptionsDefault: - default image- Specified by:
getContainerin interfaceTaskWorkflowJobOptions
-
getDownloadLfs
public final Boolean getDownloadLfs()
Description copied from interface:TaskWorkflowJobOptions(experimental) Whether to download files from Git LFS for this workflow.Default: - Use the setting on the corresponding GitHub project
- Specified by:
getDownloadLfsin interfaceTaskWorkflowJobOptions
-
getEnv
public final Map<String,String> getEnv()
Description copied from interface:TaskWorkflowJobOptions(experimental) Workflow environment variables.Default: {}
- Specified by:
getEnvin interfaceTaskWorkflowJobOptions
-
getGitIdentity
public final GitIdentity getGitIdentity()
Description copied from interface:TaskWorkflowJobOptions(experimental) The git identity to use in this workflow.- Specified by:
getGitIdentityin interfaceTaskWorkflowJobOptions
-
getJobDefaults
public final JobDefaults getJobDefaults()
Description copied from interface:TaskWorkflowJobOptions(experimental) Default settings for all steps in the TaskWorkflow Job.- Specified by:
getJobDefaultsin interfaceTaskWorkflowJobOptions
-
getOutputs
public final Map<String,JobStepOutput> getOutputs()
Description copied from interface:TaskWorkflowJobOptions(experimental) Mapping of job output names to values/expressions.Default: {}
- Specified by:
getOutputsin interfaceTaskWorkflowJobOptions
-
getPostBuildSteps
public final List<JobStep> getPostBuildSteps()
Description copied from interface:TaskWorkflowJobOptions(experimental) Actions to run after the main build step.Default: - not set
- Specified by:
getPostBuildStepsin interfaceTaskWorkflowJobOptions
-
getPreBuildSteps
public final List<JobStep> getPreBuildSteps()
Description copied from interface:TaskWorkflowJobOptions(experimental) Steps to run before the main build step.Default: - not set
- Specified by:
getPreBuildStepsin interfaceTaskWorkflowJobOptions
-
getPreCheckoutSteps
public final List<JobStep> getPreCheckoutSteps()
Description copied from interface:TaskWorkflowJobOptions(experimental) Initial steps to run before the source code checkout.Default: - not set
- Specified by:
getPreCheckoutStepsin interfaceTaskWorkflowJobOptions
-
getRunsOn
public final List<String> getRunsOn()
Description copied from interface:TaskWorkflowJobOptions(experimental) Github Runner selection labels.Default: ["ubuntu-latest"]
- Specified by:
getRunsOnin interfaceTaskWorkflowJobOptions
-
getRunsOnGroup
public final GroupRunnerOptions getRunsOnGroup()
Description copied from interface:TaskWorkflowJobOptions(experimental) Github Runner Group selection options.- Specified by:
getRunsOnGroupin interfaceTaskWorkflowJobOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-