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:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverterNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
ConstructorsConstructorDescriptionAndroidSDKInstallation(String name, String home, List<? extends ToolProperty<?>> properties, Platform platform) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildEnvVars(EnvVars env) forEnvironment(EnvVars environment) forNode(Node node, TaskListener log) 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, writeReplaceMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
AndroidSDKInstallation
@DataBoundConstructor public AndroidSDKInstallation(String name, String home, List<? extends ToolProperty<?>> properties, Platform platform)
-
-
Method Details
-
forEnvironment
- Specified by:
forEnvironmentin interfaceEnvironmentSpecific<AndroidSDKInstallation>
-
forNode
public AndroidSDKInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException - Specified by:
forNodein interfaceNodeSpecific<AndroidSDKInstallation>- Throws:
IOExceptionInterruptedException
-
getToolLocator
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
- Overrides:
buildEnvVarsin classToolInstallation
-