Class JenkinsProvider
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.services.codepipeline.actions.BaseJenkinsProvider
software.amazon.awscdk.services.codepipeline.actions.JenkinsProvider
- All Implemented Interfaces:
IConstruct
,IDependable
,IJenkinsProvider
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.450Z")
@Stability(Stable)
public class JenkinsProvider
extends BaseJenkinsProvider
A class representing Jenkins providers.
Example:
JenkinsProvider jenkinsProvider = JenkinsProvider.Builder.create(this, "JenkinsProvider") .providerName("MyJenkinsProvider") .serverUrl("http://my-jenkins.com:8080") .version("2") .build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codepipeline.actions.IJenkinsProvider
IJenkinsProvider.Jsii$Default
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
JenkinsProvider
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
JenkinsProvider
(software.amazon.jsii.JsiiObjectRef objRef) JenkinsProvider
(software.constructs.Construct scope, String id, JenkinsProviderProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IJenkinsProvider
fromJenkinsProviderAttributes
(software.constructs.Construct scope, String id, JenkinsProviderAttributes attrs) Import a Jenkins provider registered either outside the CDK, or in a different CDK Stack.Methods inherited from class software.amazon.awscdk.services.codepipeline.actions.BaseJenkinsProvider
getVersion
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.constructs.Construct
toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
JenkinsProvider
protected JenkinsProvider(software.amazon.jsii.JsiiObjectRef objRef) -
JenkinsProvider
protected JenkinsProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
JenkinsProvider
@Stability(Stable) public JenkinsProvider(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull JenkinsProviderProps props) - Parameters:
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.
-
-
Method Details
-
fromJenkinsProviderAttributes
@Stability(Stable) @NotNull public static IJenkinsProvider fromJenkinsProviderAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull JenkinsProviderAttributes attrs) Import a Jenkins provider registered either outside the CDK, or in a different CDK Stack.- Parameters:
scope
- the parent Construct for the new provider. This parameter is required.id
- the identifier of the new provider Construct. This parameter is required.attrs
- the properties used to identify the existing provider. This parameter is required.- Returns:
- a new Construct representing a reference to an existing Jenkins provider
-
getProviderName
- Specified by:
getProviderName
in interfaceIJenkinsProvider
- Specified by:
getProviderName
in classBaseJenkinsProvider
-
getServerUrl
- Specified by:
getServerUrl
in interfaceIJenkinsProvider
- Specified by:
getServerUrl
in classBaseJenkinsProvider
-