public class JenkinsLocalOperation extends LocalOperation
adb
Constructor and Description |
---|
JenkinsLocalOperation(String adb) |
Modifier and Type | Method and Description |
---|---|
protected void |
forceStopApp(String device,
String appPkgName) |
List<String> |
getDevices() |
protected String |
getExternalFilePath(String device,
String relativeFilePath) |
protected void |
installApp(String device,
String appPkgName,
File apkFile) |
void |
pullFolderFromDevice(String device,
String folderPath,
File file) |
protected void |
pushToDevice(String device,
String pkgName,
File file) |
protected void |
rmFolderFromDevice(String device,
String folderPath) |
after, before
public JenkinsLocalOperation(String adb)
protected void rmFolderFromDevice(String device, String folderPath)
rmFolderFromDevice
in class LocalOperation
protected void pushToDevice(String device, String pkgName, File file)
pushToDevice
in class LocalOperation
public void pullFolderFromDevice(String device, String folderPath, File file)
pullFolderFromDevice
in class LocalOperation
protected void installApp(String device, String appPkgName, File apkFile)
installApp
in class LocalOperation
protected void forceStopApp(String device, String appPkgName)
forceStopApp
in class LocalOperation
protected String getExternalFilePath(String device, String relativeFilePath)
getExternalFilePath
in class LocalOperation
public List<String> getDevices()
getDevices
in class LocalOperation
Copyright © 2016–2018. All rights reserved.