Class InStateWithVariables

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable

    @Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
               date="2025-08-20T01:46:20.848Z")
    @Stability(Stable)
    public class InStateWithVariables
    extends AnyState
    A state descriptor for configuring an example that needs to run in a particular named state, and with variables provided by the framework.
    • Nested Class Summary

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

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

      Constructors 
      Modifier Constructor Description
        InStateWithVariables​(String stateName, Map<String,​Object> variables)
      A state descriptor for configuring an example that needs to run in a particular named state, and with variables provided by the framework.
      protected InStateWithVariables​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected InStateWithVariables​(software.amazon.jsii.JsiiObjectRef objRef)  
    • Constructor Detail

      • InStateWithVariables

        protected InStateWithVariables​(software.amazon.jsii.JsiiObjectRef objRef)
      • InStateWithVariables

        protected InStateWithVariables​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • InStateWithVariables

        @Stability(Stable)
        public InStateWithVariables​(@NotNull
                                    String stateName,
                                    @NotNull
                                    Map<String,​Object> variables)
        A state descriptor for configuring an example that needs to run in a particular named state, and with variables provided by the framework.

        Parameters:
        stateName -
        • The name of the state used by this example.
        This parameter is required.
        variables -
        • A object where the keys are variable names, mapped to any data or matcher objects.
        This parameter is required.
    • Method Detail

      • getVariables

        @Stability(Stable)
        @NotNull
        public Map<String,​Object> getVariables()