Class Run
- java.lang.Object
-
- com.amazonaws.services.devicefarm.model.Run
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class Run extends Object implements Serializable, Cloneable
Represents an app on a set of devices with a specific test and configuration.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Run()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Run
clone()
boolean
equals(Object obj)
String
getArn()
The run's ARN.String
getBillingMethod()
Specifies the billing method for a test run:metered
orunmetered
.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
orunmetered
.void
setBillingMethod(String billingMethod)
Specifies the billing method for a test run:metered
orunmetered
.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(TestType type)
The run's type.void
setType(String 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
orunmetered
.Run
withBillingMethod(String billingMethod)
Specifies the billing method for a test run:metered
orunmetered
.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(TestType type)
The run's type.Run
withType(String type)
The run's type.
-
-
-
Method Detail
-
setArn
public void setArn(String arn)
The run's ARN.
- Parameters:
arn
- The run's ARN.
-
getArn
public String getArn()
The run's ARN.
- Returns:
- The run's ARN.
-
withArn
public Run withArn(String arn)
The run's ARN.
- Parameters:
arn
- The run's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
The run's name.
- Parameters:
name
- The run's name.
-
getName
public String getName()
The run's name.
- Returns:
- The run's name.
-
withName
public Run withName(String name)
The run's name.
- Parameters:
name
- The run's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setType
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.
-
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 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.
-
- See Also:
TestType
-
-
getType
public 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.
- Returns:
- 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.
-
- See Also:
TestType
-
-
withType
public 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.
-
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 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestType
-
-
setType
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.
- Parameters:
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.
-
- See Also:
TestType
-
-
withType
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestType
-
-
setPlatform
public void setPlatform(String platform)
The run's platform.
Allowed values include:
-
ANDROID: The Android platform.
-
IOS: The iOS platform.
- Parameters:
platform
- The run's platform.Allowed values include:
-
ANDROID: The Android platform.
-
IOS: The iOS platform.
-
- See Also:
DevicePlatform
-
-
getPlatform
public String getPlatform()
The run's platform.
Allowed values include:
-
ANDROID: The Android platform.
-
IOS: The iOS platform.
- Returns:
- The run's platform.
Allowed values include:
-
ANDROID: The Android platform.
-
IOS: The iOS platform.
-
- See Also:
DevicePlatform
-
-
withPlatform
public Run withPlatform(String platform)
The run's platform.
Allowed values include:
-
ANDROID: The Android platform.
-
IOS: The iOS platform.
- Parameters:
platform
- The run's platform.Allowed values include:
-
ANDROID: The Android platform.
-
IOS: The iOS platform.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DevicePlatform
-
-
setPlatform
public void setPlatform(DevicePlatform platform)
The run's platform.
Allowed values include:
-
ANDROID: The Android platform.
-
IOS: The iOS platform.
- Parameters:
platform
- The run's platform.Allowed values include:
-
ANDROID: The Android platform.
-
IOS: The iOS platform.
-
- See Also:
DevicePlatform
-
-
withPlatform
public Run withPlatform(DevicePlatform platform)
The run's platform.
Allowed values include:
-
ANDROID: The Android platform.
-
IOS: The iOS platform.
- Parameters:
platform
- The run's platform.Allowed values include:
-
ANDROID: The Android platform.
-
IOS: The iOS platform.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DevicePlatform
-
-
setCreated
public void setCreated(Date created)
When the run was created.
- Parameters:
created
- When the run was created.
-
getCreated
public Date getCreated()
When the run was created.
- Returns:
- When the run was created.
-
withCreated
public Run withCreated(Date created)
When the run was created.
- Parameters:
created
- When the run was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(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.
- Parameters:
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.
-
- See Also:
ExecutionStatus
-
-
getStatus
public 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.
- Returns:
- 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.
-
- See Also:
ExecutionStatus
-
-
withStatus
public Run withStatus(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutionStatus
-
-
setStatus
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.
- Parameters:
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.
-
- See Also:
ExecutionStatus
-
-
withStatus
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutionStatus
-
-
setResult
public void setResult(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.
- Parameters:
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.
-
- See Also:
ExecutionResult
-
-
getResult
public 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.
- Returns:
- 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.
-
- See Also:
ExecutionResult
-
-
withResult
public Run withResult(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutionResult
-
-
setResult
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.
- Parameters:
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.
-
- See Also:
ExecutionResult
-
-
withResult
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutionResult
-
-
setStarted
public void setStarted(Date started)
The run's start time.
- Parameters:
started
- The run's start time.
-
getStarted
public Date getStarted()
The run's start time.
- Returns:
- The run's start time.
-
withStarted
public Run withStarted(Date started)
The run's start time.
- Parameters:
started
- The run's start time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStopped
public void setStopped(Date stopped)
The run's stop time.
- Parameters:
stopped
- The run's stop time.
-
getStopped
public Date getStopped()
The run's stop time.
- Returns:
- The run's stop time.
-
withStopped
public Run withStopped(Date stopped)
The run's stop time.
- Parameters:
stopped
- The run's stop time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCounters
public void setCounters(Counters counters)
The run's result counters.
- Parameters:
counters
- The run's result counters.
-
getCounters
public Counters getCounters()
The run's result counters.
- Returns:
- The run's result counters.
-
withCounters
public Run withCounters(Counters counters)
The run's result counters.
- Parameters:
counters
- The run's result counters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMessage
public void setMessage(String message)
A message about the run's result.
- Parameters:
message
- A message about the run's result.
-
getMessage
public String getMessage()
A message about the run's result.
- Returns:
- A message about the run's result.
-
withMessage
public Run withMessage(String message)
A message about the run's result.
- Parameters:
message
- A message about the run's result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTotalJobs
public void setTotalJobs(Integer totalJobs)
The total number of jobs for the run.
- Parameters:
totalJobs
- The total number of jobs for the run.
-
getTotalJobs
public Integer getTotalJobs()
The total number of jobs for the run.
- Returns:
- The total number of jobs for the run.
-
withTotalJobs
public Run withTotalJobs(Integer totalJobs)
The total number of jobs for the run.
- Parameters:
totalJobs
- The total number of jobs for the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCompletedJobs
public void setCompletedJobs(Integer completedJobs)
The total number of completed jobs.
- Parameters:
completedJobs
- The total number of completed jobs.
-
getCompletedJobs
public Integer getCompletedJobs()
The total number of completed jobs.
- Returns:
- The total number of completed jobs.
-
withCompletedJobs
public Run withCompletedJobs(Integer completedJobs)
The total number of completed jobs.
- Parameters:
completedJobs
- The total number of completed jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setBillingMethod
public void setBillingMethod(String billingMethod)
Specifies the billing method for a test run:
metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- Parameters:
billingMethod
- Specifies the billing method for a test run:metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- See Also:
BillingMethod
-
getBillingMethod
public String getBillingMethod()
Specifies the billing method for a test run:
metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- Returns:
- Specifies the billing method for a test run:
metered
orunmetered
. If the parameter is not specified, the default value isunmetered
. - See Also:
BillingMethod
-
withBillingMethod
public Run withBillingMethod(String billingMethod)
Specifies the billing method for a test run:
metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- Parameters:
billingMethod
- Specifies the billing method for a test run:metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BillingMethod
-
setBillingMethod
public void setBillingMethod(BillingMethod billingMethod)
Specifies the billing method for a test run:
metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- Parameters:
billingMethod
- Specifies the billing method for a test run:metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- See Also:
BillingMethod
-
withBillingMethod
public Run withBillingMethod(BillingMethod billingMethod)
Specifies the billing method for a test run:
metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- Parameters:
billingMethod
- Specifies the billing method for a test run:metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BillingMethod
-
setDeviceMinutes
public void setDeviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test run.
- Parameters:
deviceMinutes
- Represents the total (metered or unmetered) minutes used by the test run.
-
getDeviceMinutes
public DeviceMinutes getDeviceMinutes()
Represents the total (metered or unmetered) minutes used by the test run.
- Returns:
- Represents the total (metered or unmetered) minutes used by the test run.
-
withDeviceMinutes
public Run withDeviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test run.
- Parameters:
deviceMinutes
- Represents the total (metered or unmetered) minutes used by the test run.- Returns:
- 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-