Class: AWSCDK::CodePipelineActions::BaseJenkinsProvider
- Inherits:
-
Constructs::Construct
- Object
- Constructs::Construct
- AWSCDK::CodePipelineActions::BaseJenkinsProvider
- Includes:
- IJenkinsProvider
- Defined in:
- code_pipeline_actions/base_jenkins_provider.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(scope, id, version = nil) ⇒ BaseJenkinsProvider
constructor
A new instance of BaseJenkinsProvider.
-
#node ⇒ Constructs::Node
The tree node.
- #provider_name ⇒ String
- #server_url ⇒ String
-
#to_string ⇒ String
Returns a string representation of this construct.
- #version ⇒ String
-
#with(*mixins) ⇒ Constructs::IConstruct
Applies one or more mixins to this construct.
Constructor Details
#initialize(scope, id, version = nil) ⇒ BaseJenkinsProvider
Returns a new instance of BaseJenkinsProvider.
11 12 13 14 15 16 |
# File 'code_pipeline_actions/base_jenkins_provider.rb', line 11 def initialize(scope, id, version = nil) Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "scope") Jsii::Type.check_type(id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") Jsii::Type.check_type(version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version") unless version.nil? Jsii::Object.instance_method(:initialize).bind(self).call(scope, id, version) end |
Class Method Details
.jsii_overridable_methods ⇒ Object
18 19 20 21 22 23 24 25 26 27 |
# File 'code_pipeline_actions/base_jenkins_provider.rb', line 18 def self.jsii_overridable_methods { :node => { kind: :property, name: "node", is_optional: false }, :provider_name => { kind: :property, name: "providerName", is_optional: false }, :server_url => { kind: :property, name: "serverUrl", is_optional: false }, :version => { kind: :property, name: "version", is_optional: false }, :to_string => { kind: :method, name: "toString", is_optional: false }, :with => { kind: :method, name: "with", is_optional: false }, } end |
Instance Method Details
#node ⇒ Constructs::Node
The tree node.
32 33 34 |
# File 'code_pipeline_actions/base_jenkins_provider.rb', line 32 def node() jsii_get_property("node") end |
#provider_name ⇒ String
37 38 39 |
# File 'code_pipeline_actions/base_jenkins_provider.rb', line 37 def provider_name() jsii_get_property("providerName") end |
#server_url ⇒ String
42 43 44 |
# File 'code_pipeline_actions/base_jenkins_provider.rb', line 42 def server_url() jsii_get_property("serverUrl") end |
#to_string ⇒ String
Returns a string representation of this construct.
54 55 56 |
# File 'code_pipeline_actions/base_jenkins_provider.rb', line 54 def to_string() jsii_call_method("toString", []) end |
#version ⇒ String
47 48 49 |
# File 'code_pipeline_actions/base_jenkins_provider.rb', line 47 def version() jsii_get_property("version") end |
#with(*mixins) ⇒ Constructs::IConstruct
Applies one or more mixins to this construct.
Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple with() calls if subsequent mixins should apply to added
constructs.
67 68 69 70 71 72 |
# File 'code_pipeline_actions/base_jenkins_provider.rb', line 67 def with(*mixins) mixins.each_with_index do |item, index| Jsii::Type.check_type(item, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLklNaXhpbiJ9")), "mixins[#{index}]") end jsii_call_method("with", [*mixins]) end |