Class JavaConfig

    • Constructor Detail

      • JavaConfig

        public JavaConfig()
        Constructor for the JavaConfig object
    • Method Detail

      • setClassname

        public void setClassname​(String classname)
        Sets the class name attribute of the JavaConfig object. This is the class name of the JavaSamplerClient implementation which will be used to execute the test.
        Parameters:
        classname - the new classname value
      • getClassname

        public String getClassname()
        Gets the class name attribute of the JavaConfig object. This is the class name of the JavaSamplerClient implementation which will be used to execute the test.
        Returns:
        the classname value
      • addArgument

        public void addArgument​(String name,
                                String value)
        Adds an argument to the list of arguments for this JavaConfig object. The JavaSamplerClient implementation can access these arguments through the JavaSamplerContext.
        Parameters:
        name - the name of the argument to be added
        value - the value of the argument to be added
      • removeArguments

        public void removeArguments()
        Removes all of the arguments associated with this JavaConfig object.
      • setArguments

        public void setArguments​(Arguments args)
        Set all of the arguments for this JavaConfig object. This will replace any previously added arguments. The JavaSamplerClient implementation can access these arguments through the JavaSamplerContext.
        Parameters:
        args - the new arguments