Package hudson.maven.local_repo
Class LocalRepositoryLocator
java.lang.Object
hudson.model.AbstractDescribableImpl<LocalRepositoryLocator>
hudson.maven.local_repo.LocalRepositoryLocator
- All Implemented Interfaces:
- ExtensionPoint,- Describable<LocalRepositoryLocator>
- Direct Known Subclasses:
- DefaultLocalRepositoryLocator,- PerExecutorLocalRepositoryLocator,- PerJobLocalRepositoryLocator
public abstract class LocalRepositoryLocator
extends AbstractDescribableImpl<LocalRepositoryLocator>
implements ExtensionPoint
Strategy pattern that decides the location of the Maven local repository for a build.
- Since:
- 1.448
- Author:
- Kohsuke Kawaguchi
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract FilePathlocate(AbstractMavenBuild build) Called during the build on the controller to determine the location of the local Maven repository.
- 
Constructor Details- 
LocalRepositoryLocatorpublic LocalRepositoryLocator()
 
- 
- 
Method Details- 
locateCalled during the build on the controller to determine the location of the local Maven repository.- Returns:
- null to let Maven uses its default location. Otherwise this must be located on the same
      node as AbstractBuild.getWorkspace()does.
 
- 
getDescriptor- Specified by:
- getDescriptorin interface- Describable<LocalRepositoryLocator>
- Overrides:
- getDescriptorin class- AbstractDescribableImpl<LocalRepositoryLocator>
 
 
-