Class Job.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.gitlab.Job.Jsii$Proxy
-
-
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.gitlab.Job
Job.Builder, Job.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(Job.Builder builder)Constructor that initializes the object based on literal property values passed by theJob.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>getAfterScript()ObjectgetAllowFailure()(experimental) Whether to allow the pipeline to continue running on job failure (Default: false).ArtifactsgetArtifacts()List<String>getBeforeScript()List<Cache>getCache()StringgetCoverage()(experimental) Must be a regular expression, optionally but recommended to be quoted, and must be surrounded with '/'.List<String>getDependencies()(experimental) Specify a list of job names from earlier stages from which artifacts should be loaded.ObjectgetEnvironment()(experimental) Used to associate environment metadata with a deploy.ObjectgetExcept()(experimental) Job will run except for when these filtering options match.List<String>getExtendsValue()(experimental) The name of one or more jobs to inherit configuration from.Map<String,IDToken>getIdTokens()(experimental) Configurable ID tokens (JSON Web Tokens) that are used for CI/CD authentication.ImagegetImage()InheritgetInherit()(experimental) Controls inheritance of globally-defined defaults and variables.BooleangetInterruptible()List<Object>getNeeds()(experimental) The list of jobs in previous stages whose sole completion is needed to start the current job.ObjectgetOnly()(experimental) Job will run only when these filtering options match.ObjectgetParallel()(experimental) Parallel will split up a single job into several, and provideCI_NODE_INDEXandCI_NODE_TOTALenvironment variables for the running jobs.ReleasegetRelease()(experimental) Indicates that the job creates a Release.StringgetResourceGroup()(experimental) Limit job concurrency.RetrygetRetry()List<IncludeRule>getRules()(experimental) Rules allows for an array of individual rule objects to be evaluated in order, until one matches and dynamically provides attributes to the job.List<String>getScript()(experimental) Shell scripts executed by the Runner.Map<String,Map<String,Secret>>getSecrets()(experimental) CI/CD secrets.List<Service>getServices()StringgetStage()(experimental) Define what stage the job will run in.StringgetStartIn()List<String>getTags()StringgetTimeout()ObjectgetTrigger()(experimental) Trigger allows you to define downstream pipeline trigger.Map<String,String>getVariables()(experimental) Configurable values that are passed to the Job.JobWhengetWhen()(experimental) Describes the conditions for when to run the job.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(Job.Builder builder)
Constructor that initializes the object based on literal property values passed by theJob.Builder.
-
-
Method Detail
-
getAfterScript
public final List<String> getAfterScript()
- Specified by:
getAfterScriptin interfaceJob
-
getAllowFailure
public final Object getAllowFailure()
Description copied from interface:Job(experimental) Whether to allow the pipeline to continue running on job failure (Default: false).- Specified by:
getAllowFailurein interfaceJob
-
getArtifacts
public final Artifacts getArtifacts()
- Specified by:
getArtifactsin interfaceJob
-
getBeforeScript
public final List<String> getBeforeScript()
- Specified by:
getBeforeScriptin interfaceJob
-
getCoverage
public final String getCoverage()
Description copied from interface:Job(experimental) Must be a regular expression, optionally but recommended to be quoted, and must be surrounded with '/'.Example: '/Code coverage: \d+.\d+/'
- Specified by:
getCoveragein interfaceJob
-
getDependencies
public final List<String> getDependencies()
Description copied from interface:Job(experimental) Specify a list of job names from earlier stages from which artifacts should be loaded.By default, all previous artifacts are passed. Use an empty array to skip downloading artifacts.
- Specified by:
getDependenciesin interfaceJob
-
getEnvironment
public final Object getEnvironment()
Description copied from interface:Job(experimental) Used to associate environment metadata with a deploy.Environment can have a name and URL attached to it, and will be displayed under /environments under the project.
- Specified by:
getEnvironmentin interfaceJob
-
getExcept
public final Object getExcept()
Description copied from interface:Job(experimental) Job will run except for when these filtering options match.
-
getExtendsValue
public final List<String> getExtendsValue()
Description copied from interface:Job(experimental) The name of one or more jobs to inherit configuration from.- Specified by:
getExtendsValuein interfaceJob
-
getIdTokens
public final Map<String,IDToken> getIdTokens()
Description copied from interface:Job(experimental) Configurable ID tokens (JSON Web Tokens) that are used for CI/CD authentication.- Specified by:
getIdTokensin interfaceJob
-
getInherit
public final Inherit getInherit()
Description copied from interface:Job(experimental) Controls inheritance of globally-defined defaults and variables.Boolean values control inheritance of all default: or variables: keywords. To inherit only a subset of default: or variables: keywords, specify what you wish to inherit. Anything not listed is not inherited.
- Specified by:
getInheritin interfaceJob
-
getInterruptible
public final Boolean getInterruptible()
- Specified by:
getInterruptiblein interfaceJob
-
getNeeds
public final List<Object> getNeeds()
Description copied from interface:Job(experimental) The list of jobs in previous stages whose sole completion is needed to start the current job.
-
getOnly
public final Object getOnly()
Description copied from interface:Job(experimental) Job will run only when these filtering options match.
-
getParallel
public final Object getParallel()
Description copied from interface:Job(experimental) Parallel will split up a single job into several, and provideCI_NODE_INDEXandCI_NODE_TOTALenvironment variables for the running jobs.- Specified by:
getParallelin interfaceJob
-
getRelease
public final Release getRelease()
Description copied from interface:Job(experimental) Indicates that the job creates a Release.- Specified by:
getReleasein interfaceJob
-
getResourceGroup
public final String getResourceGroup()
Description copied from interface:Job(experimental) Limit job concurrency.Can be used to ensure that the Runner will not run certain jobs simultaneously.
- Specified by:
getResourceGroupin interfaceJob
-
getRules
public final List<IncludeRule> getRules()
Description copied from interface:Job(experimental) Rules allows for an array of individual rule objects to be evaluated in order, until one matches and dynamically provides attributes to the job.
-
getScript
public final List<String> getScript()
Description copied from interface:Job(experimental) Shell scripts executed by the Runner.The only required property of jobs. Be careful with special characters (e.g.
:,{,},&) and use single or double quotes to avoid issues.
-
getSecrets
public final Map<String,Map<String,Secret>> getSecrets()
Description copied from interface:Job(experimental) CI/CD secrets.- Specified by:
getSecretsin interfaceJob
-
getServices
public final List<Service> getServices()
- Specified by:
getServicesin interfaceJob
-
getStage
public final String getStage()
Description copied from interface:Job(experimental) Define what stage the job will run in.
-
getStartIn
public final String getStartIn()
- Specified by:
getStartInin interfaceJob
-
getTimeout
public final String getTimeout()
- Specified by:
getTimeoutin interfaceJob
-
getTrigger
public final Object getTrigger()
Description copied from interface:Job(experimental) Trigger allows you to define downstream pipeline trigger.When a job created from trigger definition is started by GitLab, a downstream pipeline gets created. Read more: https://docs.gitlab.com/ee/ci/yaml/README.html#trigger
- Specified by:
getTriggerin interfaceJob
-
getVariables
public final Map<String,String> getVariables()
Description copied from interface:Job(experimental) Configurable values that are passed to the Job.- Specified by:
getVariablesin interfaceJob
-
getWhen
public final JobWhen getWhen()
Description copied from interface:Job(experimental) Describes the conditions for when to run the job.Defaults to 'on_success'.
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-