org.cdk8s.jenkins.Jenkins Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdk8s-jenkins Show documentation
Show all versions of cdk8s-jenkins Show documentation
Jenkins construct for CDK8s
package org.cdk8s.jenkins;
/**
* A jenkins instance.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.105.0 (build 0a2adcb)", date = "2024-11-29T12:06:09.111Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.cdk8s.jenkins.$Module.class, fqn = "cdk8s-jenkins.Jenkins")
public class Jenkins extends software.constructs.Construct {
protected Jenkins(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected Jenkins(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param scope This parameter is required.
* @param id This parameter is required.
* @param props
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Jenkins(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.Nullable org.cdk8s.jenkins.JenkinsProps props) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), props });
}
/**
* @param scope This parameter is required.
* @param id This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Jenkins(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required") });
}
/**
* Add base plugins to jenkins instance.
*
* @param basePlugins List of base plugins. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void addBasePlugins(final @org.jetbrains.annotations.NotNull org.cdk8s.jenkins.Plugin... basePlugins) {
software.amazon.jsii.Kernel.call(this, "addBasePlugins", software.amazon.jsii.NativeType.VOID, java.util.Arrays.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy