Class DefaultHomeLocator
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<HomeLocator>
-
- jenkins.plugin.android.emulator.sdk.home.HomeLocator
-
- jenkins.plugin.android.emulator.sdk.home.DefaultHomeLocator
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<HomeLocator>
,Serializable
public class DefaultHomeLocator extends HomeLocator
Uses NPM's default global cache, which is actually~/.android
on Unix system or%HOME%\.android
on Windows system.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultHomeLocator.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description DefaultHomeLocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilePath
locate(FilePath workspace)
Called during the build on the master to determine the location of the local SDK home location.-
Methods inherited from class jenkins.plugin.android.emulator.sdk.home.HomeLocator
buildEnvVars, getDescriptor
-
-
-
-
Method Detail
-
locate
public FilePath locate(@Nonnull FilePath workspace)
Description copied from class:HomeLocator
Called during the build on the master to determine the location of the local SDK home location.- Specified by:
locate
in classHomeLocator
- Parameters:
workspace
- the workspace file path locator- Returns:
- null to let SDK build tool uses its default location. Otherwise this must be located on the same node as described by this path.
-
-