Class TestOptions.Builder

  • Enclosing class:
    TestOptions

    public static class TestOptions.Builder
    extends java.lang.Object
    The builder for TestOptions
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • organizationName

        public TestOptions.Builder organizationName​(java.lang.String organizationName)
        The organization name. Defaults to "organization" if not specified.
        Parameters:
        organizationName - the organization name to use in the test
        Returns:
        this TestOptions.Builder
      • projectName

        public TestOptions.Builder projectName​(java.lang.String projectName)
        The project name. Defaults to "project" if not specified.
        Parameters:
        projectName - the project name to use in the test
        Returns:
        this TestOptions.Builder
      • stackName

        public TestOptions.Builder stackName​(java.lang.String stackName)
        The stack name. Defaults to "stack" if not specified.
        Parameters:
        stackName - the stack name to use in the test
        Returns:
        this TestOptions.Builder
      • rootDirectory

        public TestOptions.Builder rootDirectory​(java.lang.String rootDirectory)
        The project root directory. Defaults to "" if not specified.
        Parameters:
        rootDirectory - the project root directory to use in the test
        Returns:
        this TestOptions.Builder
      • preview

        public TestOptions.Builder preview​(boolean preview)
        The preview mode. Defaults to false if not specified.
        Parameters:
        preview - set true if test is a preview or false on normal execution
        Returns:
        this TestOptions.Builder