public final class AndroidRoboTest
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Testing API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
AndroidRoboTest() |
Modifier and Type | Method and Description |
---|---|
AndroidRoboTest |
clone() |
FileReference |
getAppApk()
The APK for the application under test.
|
AppBundle |
getAppBundle()
A multi-apk app bundle for the application under test.
|
java.lang.String |
getAppInitialActivity()
The initial activity that should be used to start the app.
|
java.lang.String |
getAppPackageId()
The java package for the application under test.
|
java.lang.Integer |
getMaxDepth()
The max depth of the traversal stack Robo can explore.
|
java.lang.Integer |
getMaxSteps()
The max number of steps Robo can execute.
|
java.util.List<RoboDirective> |
getRoboDirectives()
A set of directives Robo should apply during the crawl.
|
FileReference |
getRoboScript()
A JSON file with a sequence of actions Robo should perform as a prologue for the crawl.
|
java.util.List<RoboStartingIntent> |
getStartingIntents()
The intents used to launch the app for the crawl.
|
AndroidRoboTest |
set(java.lang.String fieldName,
java.lang.Object value) |
AndroidRoboTest |
setAppApk(FileReference appApk)
The APK for the application under test.
|
AndroidRoboTest |
setAppBundle(AppBundle appBundle)
A multi-apk app bundle for the application under test.
|
AndroidRoboTest |
setAppInitialActivity(java.lang.String appInitialActivity)
The initial activity that should be used to start the app.
|
AndroidRoboTest |
setAppPackageId(java.lang.String appPackageId)
The java package for the application under test.
|
AndroidRoboTest |
setMaxDepth(java.lang.Integer maxDepth)
The max depth of the traversal stack Robo can explore.
|
AndroidRoboTest |
setMaxSteps(java.lang.Integer maxSteps)
The max number of steps Robo can execute.
|
AndroidRoboTest |
setRoboDirectives(java.util.List<RoboDirective> roboDirectives)
A set of directives Robo should apply during the crawl.
|
AndroidRoboTest |
setRoboScript(FileReference roboScript)
A JSON file with a sequence of actions Robo should perform as a prologue for the crawl.
|
AndroidRoboTest |
setStartingIntents(java.util.List<RoboStartingIntent> startingIntents)
The intents used to launch the app for the crawl.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public FileReference getAppApk()
null
for nonepublic AndroidRoboTest setAppApk(FileReference appApk)
appApk
- appApk or null
for nonepublic AppBundle getAppBundle()
null
for nonepublic AndroidRoboTest setAppBundle(AppBundle appBundle)
appBundle
- appBundle or null
for nonepublic java.lang.String getAppInitialActivity()
null
for nonepublic AndroidRoboTest setAppInitialActivity(java.lang.String appInitialActivity)
appInitialActivity
- appInitialActivity or null
for nonepublic java.lang.String getAppPackageId()
null
for nonepublic AndroidRoboTest setAppPackageId(java.lang.String appPackageId)
appPackageId
- appPackageId or null
for nonepublic java.lang.Integer getMaxDepth()
null
for nonepublic AndroidRoboTest setMaxDepth(java.lang.Integer maxDepth)
maxDepth
- maxDepth or null
for nonepublic java.lang.Integer getMaxSteps()
null
for nonepublic AndroidRoboTest setMaxSteps(java.lang.Integer maxSteps)
maxSteps
- maxSteps or null
for nonepublic java.util.List<RoboDirective> getRoboDirectives()
null
for nonepublic AndroidRoboTest setRoboDirectives(java.util.List<RoboDirective> roboDirectives)
roboDirectives
- roboDirectives or null
for nonepublic FileReference getRoboScript()
null
for nonepublic AndroidRoboTest setRoboScript(FileReference roboScript)
roboScript
- roboScript or null
for nonepublic java.util.List<RoboStartingIntent> getStartingIntents()
null
for nonepublic AndroidRoboTest setStartingIntents(java.util.List<RoboStartingIntent> startingIntents)
startingIntents
- startingIntents or null
for nonepublic AndroidRoboTest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public AndroidRoboTest clone()
clone
in class com.google.api.client.json.GenericJson