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