Class DeployCommand.Jsii$Proxy

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

    @Stability(Stable)
    @Internal
    public static final class DeployCommand.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements DeployCommand
    An implementation for DeployCommand
    • 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​(DeployCommand.Builder builder)
      Constructor that initializes the object based on literal property values passed by the DeployCommand.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)  
      DeployOptions getArgs()
      Additional arguments to pass to the command This can be used to test specific CLI functionality.
      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

      • getArgs

        public final DeployOptions getArgs()
        Description copied from interface: DeployCommand
        Additional arguments to pass to the command This can be used to test specific CLI functionality.

        Default: - only default args are used

        Specified by:
        getArgs in interface DeployCommand
      • 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