Class ScheduleRunTest

java.lang.Object
com.amazonaws.services.devicefarm.model.ScheduleRunTest
All Implemented Interfaces:
Serializable, Cloneable

public class ScheduleRunTest extends Object implements Serializable, Cloneable

Represents additional test settings.

See Also:
  • Constructor Details

    • ScheduleRunTest

      public ScheduleRunTest()
  • Method Details

    • setType

      public void setType(String type)

      The test's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      Parameters:
      type - The test's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      See Also:
    • getType

      public String getType()

      The test's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      Returns:
      The test's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      See Also:
    • withType

      public ScheduleRunTest withType(String type)

      The test's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      Parameters:
      type - The test's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setType

      public void setType(TestType type)

      The test's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      Parameters:
      type - The test's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      See Also:
    • withType

      public ScheduleRunTest withType(TestType type)

      The test's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      Parameters:
      type - The test's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setTestPackageArn

      public void setTestPackageArn(String testPackageArn)

      The ARN of the uploaded test that will be run.

      Parameters:
      testPackageArn - The ARN of the uploaded test that will be run.
    • getTestPackageArn

      public String getTestPackageArn()

      The ARN of the uploaded test that will be run.

      Returns:
      The ARN of the uploaded test that will be run.
    • withTestPackageArn

      public ScheduleRunTest withTestPackageArn(String testPackageArn)

      The ARN of the uploaded test that will be run.

      Parameters:
      testPackageArn - The ARN of the uploaded test that will be run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setFilter

      public void setFilter(String filter)

      The test's filter.

      Parameters:
      filter - The test's filter.
    • getFilter

      public String getFilter()

      The test's filter.

      Returns:
      The test's filter.
    • withFilter

      public ScheduleRunTest withFilter(String filter)

      The test's filter.

      Parameters:
      filter - The test's filter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getParameters

      public Map<String,String> getParameters()

      The test's parameters, such as test framework parameters and fixture settings.

      Returns:
      The test's parameters, such as test framework parameters and fixture settings.
    • setParameters

      public void setParameters(Map<String,String> parameters)

      The test's parameters, such as test framework parameters and fixture settings.

      Parameters:
      parameters - The test's parameters, such as test framework parameters and fixture settings.
    • withParameters

      public ScheduleRunTest withParameters(Map<String,String> parameters)

      The test's parameters, such as test framework parameters and fixture settings.

      Parameters:
      parameters - The test's parameters, such as test framework parameters and fixture settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addParametersEntry

      public ScheduleRunTest addParametersEntry(String key, String value)
    • clearParametersEntries

      public ScheduleRunTest clearParametersEntries()
      Removes all the entries added into Parameters. <p> Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ScheduleRunTest clone()
      Overrides:
      clone in class Object