Class ToolLocator
java.lang.Object
jenkins.plugin.android.emulator.tools.ToolLocator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the executable path of ADB on the given target system.getAVDManager
(Launcher launcher) Gets the executable path of AVDManager on the given target system.getEmulator
(Launcher launcher) Gets the executable path of emulator on the given target system.getSDKManager
(Launcher launcher) Gets the executable path of SDKManager on the given target system.
-
Constructor Details
-
ToolLocator
-
-
Method Details
-
getSDKManager
Gets the executable path of SDKManager on the given target system.- Parameters:
launcher
- a way to start processes- Returns:
- the sdkmanager executable in the system is exists,
null
otherwise. - Throws:
InterruptedException
- if the step is interruptedIOException
- if something goes wrong
-
getAVDManager
Gets the executable path of AVDManager on the given target system.- Parameters:
launcher
- a way to start processes- Returns:
- the avdmanager executable in the system is exists,
null
otherwise. - Throws:
InterruptedException
- if the step is interruptedIOException
- if something goes wrong
-
getADB
Gets the executable path of ADB on the given target system.- Parameters:
launcher
- a way to start processes- Returns:
- the adb executable in the system is exists,
null
otherwise. - Throws:
InterruptedException
- if the step is interruptedIOException
- if something goes wrong
-
getEmulator
Gets the executable path of emulator on the given target system.- Parameters:
launcher
- a way to start processes- Returns:
- the emulator executable in the system is exists,
null
otherwise. - Throws:
InterruptedException
- if the step is interruptedIOException
- if something goes wrong
-