public class Run extends Object implements Serializable, Cloneable
Represents an app on a set of devices with a specific test and configuration.
| Constructor and Description |
|---|
Run() |
| Modifier and Type | Method and Description |
|---|---|
Run |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The run's ARN.
|
String |
getBillingMethod()
Specifies the billing method for a test run:
metered or
unmetered. |
Integer |
getCompletedJobs()
The total number of completed jobs.
|
Counters |
getCounters()
The run's result counters.
|
Date |
getCreated()
When the run was created.
|
DeviceMinutes |
getDeviceMinutes()
Represents the total (metered or unmetered) minutes used by the test run.
|
String |
getMessage()
A message about the run's result.
|
String |
getName()
The run's name.
|
String |
getPlatform()
The run's platform.
|
String |
getResult()
The run's result.
|
Date |
getStarted()
The run's start time.
|
String |
getStatus()
The run's status.
|
Date |
getStopped()
The run's stop time.
|
Integer |
getTotalJobs()
The total number of jobs for the run.
|
String |
getType()
The run's type.
|
int |
hashCode() |
void |
setArn(String arn)
The run's ARN.
|
void |
setBillingMethod(BillingMethod billingMethod)
Specifies the billing method for a test run:
metered or
unmetered. |
void |
setBillingMethod(String billingMethod)
Specifies the billing method for a test run:
metered or
unmetered. |
void |
setCompletedJobs(Integer completedJobs)
The total number of completed jobs.
|
void |
setCounters(Counters counters)
The run's result counters.
|
void |
setCreated(Date created)
When the run was created.
|
void |
setDeviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test run.
|
void |
setMessage(String message)
A message about the run's result.
|
void |
setName(String name)
The run's name.
|
void |
setPlatform(DevicePlatform platform)
The run's platform.
|
void |
setPlatform(String platform)
The run's platform.
|
void |
setResult(ExecutionResult result)
The run's result.
|
void |
setResult(String result)
The run's result.
|
void |
setStarted(Date started)
The run's start time.
|
void |
setStatus(ExecutionStatus status)
The run's status.
|
void |
setStatus(String status)
The run's status.
|
void |
setStopped(Date stopped)
The run's stop time.
|
void |
setTotalJobs(Integer totalJobs)
The total number of jobs for the run.
|
void |
setType(String type)
The run's type.
|
void |
setType(TestType type)
The run's type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Run |
withArn(String arn)
The run's ARN.
|
Run |
withBillingMethod(BillingMethod billingMethod)
Specifies the billing method for a test run:
metered or
unmetered. |
Run |
withBillingMethod(String billingMethod)
Specifies the billing method for a test run:
metered or
unmetered. |
Run |
withCompletedJobs(Integer completedJobs)
The total number of completed jobs.
|
Run |
withCounters(Counters counters)
The run's result counters.
|
Run |
withCreated(Date created)
When the run was created.
|
Run |
withDeviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test run.
|
Run |
withMessage(String message)
A message about the run's result.
|
Run |
withName(String name)
The run's name.
|
Run |
withPlatform(DevicePlatform platform)
The run's platform.
|
Run |
withPlatform(String platform)
The run's platform.
|
Run |
withResult(ExecutionResult result)
The run's result.
|
Run |
withResult(String result)
The run's result.
|
Run |
withStarted(Date started)
The run's start time.
|
Run |
withStatus(ExecutionStatus status)
The run's status.
|
Run |
withStatus(String status)
The run's status.
|
Run |
withStopped(Date stopped)
The run's stop time.
|
Run |
withTotalJobs(Integer totalJobs)
The total number of jobs for the run.
|
Run |
withType(String type)
The run's type.
|
Run |
withType(TestType type)
The run's type.
|
public void setArn(String arn)
The run's ARN.
arn - The run's ARN.public String getArn()
The run's ARN.
public Run withArn(String arn)
The run's ARN.
arn - The run's ARN.public void setName(String name)
The run's name.
name - The run's name.public String getName()
The run's name.
public Run withName(String name)
The run's name.
name - The run's name.public void setType(String type)
The run'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.
CALABASH: The Calabash type.
INSTRUMENTATION: The Instrumentation type.
UIAUTOMATION: The uiautomation type.
UIAUTOMATOR: The uiautomator type.
XCTEST: The XCode test type.
type - The run'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.
CALABASH: The Calabash type.
INSTRUMENTATION: The Instrumentation type.
UIAUTOMATION: The uiautomation type.
UIAUTOMATOR: The uiautomator type.
XCTEST: The XCode test type.
TestTypepublic String getType()
The run'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.
CALABASH: The Calabash type.
INSTRUMENTATION: The Instrumentation type.
UIAUTOMATION: The uiautomation type.
UIAUTOMATOR: The uiautomator type.
XCTEST: The XCode test 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.
CALABASH: The Calabash type.
INSTRUMENTATION: The Instrumentation type.
UIAUTOMATION: The uiautomation type.
UIAUTOMATOR: The uiautomator type.
XCTEST: The XCode test type.
TestTypepublic Run withType(String type)
The run'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.
CALABASH: The Calabash type.
INSTRUMENTATION: The Instrumentation type.
UIAUTOMATION: The uiautomation type.
UIAUTOMATOR: The uiautomator type.
XCTEST: The XCode test type.
type - The run'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.
CALABASH: The Calabash type.
INSTRUMENTATION: The Instrumentation type.
UIAUTOMATION: The uiautomation type.
UIAUTOMATOR: The uiautomator type.
XCTEST: The XCode test type.
TestTypepublic void setType(TestType type)
The run'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.
CALABASH: The Calabash type.
INSTRUMENTATION: The Instrumentation type.
UIAUTOMATION: The uiautomation type.
UIAUTOMATOR: The uiautomator type.
XCTEST: The XCode test type.
type - The run'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.
CALABASH: The Calabash type.
INSTRUMENTATION: The Instrumentation type.
UIAUTOMATION: The uiautomation type.
UIAUTOMATOR: The uiautomator type.
XCTEST: The XCode test type.
TestTypepublic Run withType(TestType type)
The run'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.
CALABASH: The Calabash type.
INSTRUMENTATION: The Instrumentation type.
UIAUTOMATION: The uiautomation type.
UIAUTOMATOR: The uiautomator type.
XCTEST: The XCode test type.
type - The run'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.
CALABASH: The Calabash type.
INSTRUMENTATION: The Instrumentation type.
UIAUTOMATION: The uiautomation type.
UIAUTOMATOR: The uiautomator type.
XCTEST: The XCode test type.
TestTypepublic void setPlatform(String platform)
The run's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
platform - The run's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
DevicePlatformpublic String getPlatform()
The run's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
DevicePlatformpublic Run withPlatform(String platform)
The run's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
platform - The run's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
DevicePlatformpublic void setPlatform(DevicePlatform platform)
The run's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
platform - The run's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
DevicePlatformpublic Run withPlatform(DevicePlatform platform)
The run's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
platform - The run's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
DevicePlatformpublic void setCreated(Date created)
When the run was created.
created - When the run was created.public Date getCreated()
When the run was created.
public Run withCreated(Date created)
When the run was created.
created - When the run was created.public void setStatus(String status)
The run's status.
Allowed values include:
COMPLETED: A completed status.
PENDING: A pending status.
PROCESSING: A processing status.
RUNNING: A running status.
SCHEDULING: A scheduling status.
status - The run's status.
Allowed values include:
COMPLETED: A completed status.
PENDING: A pending status.
PROCESSING: A processing status.
RUNNING: A running status.
SCHEDULING: A scheduling status.
ExecutionStatuspublic String getStatus()
The run's status.
Allowed values include:
COMPLETED: A completed status.
PENDING: A pending status.
PROCESSING: A processing status.
RUNNING: A running status.
SCHEDULING: A scheduling status.
Allowed values include:
COMPLETED: A completed status.
PENDING: A pending status.
PROCESSING: A processing status.
RUNNING: A running status.
SCHEDULING: A scheduling status.
ExecutionStatuspublic Run withStatus(String status)
The run's status.
Allowed values include:
COMPLETED: A completed status.
PENDING: A pending status.
PROCESSING: A processing status.
RUNNING: A running status.
SCHEDULING: A scheduling status.
status - The run's status.
Allowed values include:
COMPLETED: A completed status.
PENDING: A pending status.
PROCESSING: A processing status.
RUNNING: A running status.
SCHEDULING: A scheduling status.
ExecutionStatuspublic void setStatus(ExecutionStatus status)
The run's status.
Allowed values include:
COMPLETED: A completed status.
PENDING: A pending status.
PROCESSING: A processing status.
RUNNING: A running status.
SCHEDULING: A scheduling status.
status - The run's status.
Allowed values include:
COMPLETED: A completed status.
PENDING: A pending status.
PROCESSING: A processing status.
RUNNING: A running status.
SCHEDULING: A scheduling status.
ExecutionStatuspublic Run withStatus(ExecutionStatus status)
The run's status.
Allowed values include:
COMPLETED: A completed status.
PENDING: A pending status.
PROCESSING: A processing status.
RUNNING: A running status.
SCHEDULING: A scheduling status.
status - The run's status.
Allowed values include:
COMPLETED: A completed status.
PENDING: A pending status.
PROCESSING: A processing status.
RUNNING: A running status.
SCHEDULING: A scheduling status.
ExecutionStatuspublic void setResult(String result)
The run's result.
Allowed values include:
ERRORED: An error condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
STOPPED: A stopped condition.
PASSED: A passing condition.
PENDING: A pending condition.
WARNED: A warning condition.
result - The run's result.
Allowed values include:
ERRORED: An error condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
STOPPED: A stopped condition.
PASSED: A passing condition.
PENDING: A pending condition.
WARNED: A warning condition.
ExecutionResultpublic String getResult()
The run's result.
Allowed values include:
ERRORED: An error condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
STOPPED: A stopped condition.
PASSED: A passing condition.
PENDING: A pending condition.
WARNED: A warning condition.
Allowed values include:
ERRORED: An error condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
STOPPED: A stopped condition.
PASSED: A passing condition.
PENDING: A pending condition.
WARNED: A warning condition.
ExecutionResultpublic Run withResult(String result)
The run's result.
Allowed values include:
ERRORED: An error condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
STOPPED: A stopped condition.
PASSED: A passing condition.
PENDING: A pending condition.
WARNED: A warning condition.
result - The run's result.
Allowed values include:
ERRORED: An error condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
STOPPED: A stopped condition.
PASSED: A passing condition.
PENDING: A pending condition.
WARNED: A warning condition.
ExecutionResultpublic void setResult(ExecutionResult result)
The run's result.
Allowed values include:
ERRORED: An error condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
STOPPED: A stopped condition.
PASSED: A passing condition.
PENDING: A pending condition.
WARNED: A warning condition.
result - The run's result.
Allowed values include:
ERRORED: An error condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
STOPPED: A stopped condition.
PASSED: A passing condition.
PENDING: A pending condition.
WARNED: A warning condition.
ExecutionResultpublic Run withResult(ExecutionResult result)
The run's result.
Allowed values include:
ERRORED: An error condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
STOPPED: A stopped condition.
PASSED: A passing condition.
PENDING: A pending condition.
WARNED: A warning condition.
result - The run's result.
Allowed values include:
ERRORED: An error condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
STOPPED: A stopped condition.
PASSED: A passing condition.
PENDING: A pending condition.
WARNED: A warning condition.
ExecutionResultpublic void setStarted(Date started)
The run's start time.
started - The run's start time.public Date getStarted()
The run's start time.
public Run withStarted(Date started)
The run's start time.
started - The run's start time.public void setStopped(Date stopped)
The run's stop time.
stopped - The run's stop time.public Date getStopped()
The run's stop time.
public Run withStopped(Date stopped)
The run's stop time.
stopped - The run's stop time.public void setCounters(Counters counters)
The run's result counters.
counters - The run's result counters.public Counters getCounters()
The run's result counters.
public Run withCounters(Counters counters)
The run's result counters.
counters - The run's result counters.public void setMessage(String message)
A message about the run's result.
message - A message about the run's result.public String getMessage()
A message about the run's result.
public Run withMessage(String message)
A message about the run's result.
message - A message about the run's result.public void setTotalJobs(Integer totalJobs)
The total number of jobs for the run.
totalJobs - The total number of jobs for the run.public Integer getTotalJobs()
The total number of jobs for the run.
public Run withTotalJobs(Integer totalJobs)
The total number of jobs for the run.
totalJobs - The total number of jobs for the run.public void setCompletedJobs(Integer completedJobs)
The total number of completed jobs.
completedJobs - The total number of completed jobs.public Integer getCompletedJobs()
The total number of completed jobs.
public Run withCompletedJobs(Integer completedJobs)
The total number of completed jobs.
completedJobs - The total number of completed jobs.public void setBillingMethod(String billingMethod)
Specifies the billing method for a test run: metered or
unmetered. If the parameter is not specified, the default
value is unmetered.
billingMethod - Specifies the billing method for a test run: metered
or unmetered. If the parameter is not specified, the
default value is unmetered.BillingMethodpublic String getBillingMethod()
Specifies the billing method for a test run: metered or
unmetered. If the parameter is not specified, the default
value is unmetered.
metered
or unmetered. If the parameter is not specified, the
default value is unmetered.BillingMethodpublic Run withBillingMethod(String billingMethod)
Specifies the billing method for a test run: metered or
unmetered. If the parameter is not specified, the default
value is unmetered.
billingMethod - Specifies the billing method for a test run: metered
or unmetered. If the parameter is not specified, the
default value is unmetered.BillingMethodpublic void setBillingMethod(BillingMethod billingMethod)
Specifies the billing method for a test run: metered or
unmetered. If the parameter is not specified, the default
value is unmetered.
billingMethod - Specifies the billing method for a test run: metered
or unmetered. If the parameter is not specified, the
default value is unmetered.BillingMethodpublic Run withBillingMethod(BillingMethod billingMethod)
Specifies the billing method for a test run: metered or
unmetered. If the parameter is not specified, the default
value is unmetered.
billingMethod - Specifies the billing method for a test run: metered
or unmetered. If the parameter is not specified, the
default value is unmetered.BillingMethodpublic void setDeviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test run.
deviceMinutes - Represents the total (metered or unmetered) minutes used by the
test run.public DeviceMinutes getDeviceMinutes()
Represents the total (metered or unmetered) minutes used by the test run.
public Run withDeviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test run.
deviceMinutes - Represents the total (metered or unmetered) minutes used by the
test run.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.