Class ScenarioContext


  • public class ScenarioContext
    extends Object
    The type Scenario context.
    Author:
    Elan Thangamani
    • Constructor Detail

      • ScenarioContext

        public ScenarioContext()
    • Method Detail

      • hasContextValues

        public static boolean hasContextValues()
        Has context values boolean.
        Returns:
        the boolean
      • setContext

        public static void setContext​(Map<String,​String> globalParams)
        Sets context.
        Parameters:
        globalParams - the global params
      • setContext

        public static void setContext​(String key,
                                      String value)
        Sets context.
        Parameters:
        key - the key
        value - the value
      • getContext

        public static Object getContext​(String key)
        Gets context.
        Parameters:
        key - the key
        Returns:
        the context
      • getContext

        public static Map<String,​String> getContext()
        Gets context.
        Returns:
        the context
      • isContains

        public static Boolean isContains​(String key)
        Is contains boolean.
        Parameters:
        key - the key
        Returns:
        the boolean