Class CdkCommand.Jsii$Proxy

  • All Implemented Interfaces:
    CdkCommand, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    CdkCommand

    @Stability(Stable)
    @Internal
    public static final class CdkCommand.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements CdkCommand
    An implementation for CdkCommand
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(CdkCommand.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CdkCommand.Builder.
      protected Jsii$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()  
      boolean equals​(Object o)  
      Boolean getEnabled()
      Whether or not to run this command as part of the workflow This can be used if you only want to test some of the workflow for example enable synth and disable deploy & destroy in order to limit the test to synthesis.
      String getExpectedMessage()
      This can be used in combination with expectedError to validate that a specific message is returned.
      Boolean getExpectError()
      If the runner should expect this command to fail.
      int hashCode()  
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
    • 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.
    • Method Detail

      • getEnabled

        public final Boolean getEnabled()
        Description copied from interface: CdkCommand
        Whether or not to run this command as part of the workflow This can be used if you only want to test some of the workflow for example enable synth and disable deploy & destroy in order to limit the test to synthesis.

        Default: true

        Specified by:
        getEnabled in interface CdkCommand
      • getExpectedMessage

        public final String getExpectedMessage()
        Description copied from interface: CdkCommand
        This can be used in combination with expectedError to validate that a specific message is returned.

        Default: - do not validate message

        Specified by:
        getExpectedMessage in interface CdkCommand
      • getExpectError

        public final Boolean getExpectError()
        Description copied from interface: CdkCommand
        If the runner should expect this command to fail.

        Default: false

        Specified by:
        getExpectError in interface CdkCommand
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object