Class AndroidSDKInstallation
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<ToolInstallation>
-
- hudson.tools.ToolInstallation
-
- jenkins.plugin.android.emulator.tools.AndroidSDKInstallation
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstallation>
,EnvironmentSpecific<AndroidSDKInstallation>
,NodeSpecific<AndroidSDKInstallation>
,Serializable
public class AndroidSDKInstallation extends ToolInstallation implements EnvironmentSpecific<AndroidSDKInstallation>, NodeSpecific<AndroidSDKInstallation>
Information about JDK installation.- Since:
- 4.0
- Author:
- Nikolas Falco
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AndroidSDKInstallation.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverter
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description AndroidSDKInstallation(String name, String home, List<? extends ToolProperty<?>> properties, Platform platform)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildEnvVars(EnvVars env)
AndroidSDKInstallation
forEnvironment(EnvVars environment)
AndroidSDKInstallation
forNode(Node node, TaskListener log)
ToolLocator
getToolLocator()
Gets a locator for CLI executables installed by this tool.-
Methods inherited from class hudson.tools.ToolInstallation
all, getHome, getName, getProperties, readResolve, toString, translate, translate, translateFor, writeReplace
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
AndroidSDKInstallation
@DataBoundConstructor public AndroidSDKInstallation(String name, String home, List<? extends ToolProperty<?>> properties, Platform platform)
-
-
Method Detail
-
forEnvironment
public AndroidSDKInstallation forEnvironment(EnvVars environment)
- Specified by:
forEnvironment
in interfaceEnvironmentSpecific<AndroidSDKInstallation>
-
forNode
public AndroidSDKInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException
- Specified by:
forNode
in interfaceNodeSpecific<AndroidSDKInstallation>
- Throws:
IOException
InterruptedException
-
getToolLocator
public ToolLocator getToolLocator() throws IOException
Gets a locator for CLI executables installed by this tool.- Returns:
- a locator for CLI executables for this tool
- Throws:
IOException
- if something goes wrong
-
buildEnvVars
public void buildEnvVars(EnvVars env)
- Overrides:
buildEnvVars
in classToolInstallation
-
-