Class AndroidSDKInstaller
- java.lang.Object
-
- hudson.tools.ToolInstaller
-
- hudson.tools.DownloadFromUrlInstaller
-
- jenkins.plugin.android.emulator.tools.AndroidSDKInstaller
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstaller>
public class AndroidSDKInstaller extends DownloadFromUrlInstaller
Automatic tools installer from google.- Since:
- 4.0
- Author:
- Nikolas Falco
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
AndroidSDKInstaller.AndroidSDKInstallable
static class
AndroidSDKInstaller.Channel
static class
AndroidSDKInstaller.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tools.DownloadFromUrlInstaller
DownloadFromUrlInstaller.Installable, DownloadFromUrlInstaller.InstallableList, DownloadFromUrlInstaller.NodeSpecificInstallable
-
Nested classes/interfaces inherited from class hudson.tools.ToolInstaller
ToolInstaller.ToolInstallerEntry, ToolInstaller.ToolInstallerList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.tools.DownloadFromUrlInstaller
id
-
Fields inherited from class hudson.tools.ToolInstaller
tool
-
-
Constructor Summary
Constructors Constructor Description AndroidSDKInstaller(String id, AndroidSDKInstaller.Channel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FilePath
findPullUpDirectory(FilePath root)
AndroidSDKInstaller.Channel
getChannel()
DownloadFromUrlInstaller.Installable
getInstallable()
FilePath
performInstallation(ToolInstallation tool, Node node, TaskListener log)
-
Methods inherited from class hudson.tools.DownloadFromUrlInstaller
isUpToDate
-
Methods inherited from class hudson.tools.ToolInstaller
appliesTo, getDescriptor, getLabel, preferredLocation, setTool
-
-
-
-
Constructor Detail
-
AndroidSDKInstaller
@DataBoundConstructor public AndroidSDKInstaller(String id, AndroidSDKInstaller.Channel channel)
-
-
Method Detail
-
getChannel
public AndroidSDKInstaller.Channel getChannel()
-
getInstallable
public DownloadFromUrlInstaller.Installable getInstallable() throws IOException
- Overrides:
getInstallable
in classDownloadFromUrlInstaller
- Throws:
IOException
-
performInstallation
public FilePath performInstallation(ToolInstallation tool, Node node, TaskListener log) throws IOException, InterruptedException
- Overrides:
performInstallation
in classDownloadFromUrlInstaller
- Throws:
IOException
InterruptedException
-
findPullUpDirectory
protected FilePath findPullUpDirectory(FilePath root) throws IOException, InterruptedException
- Overrides:
findPullUpDirectory
in classDownloadFromUrlInstaller
- Throws:
IOException
InterruptedException
-
-