Package jenkins.mvn
Class FilePathGlobalSettingsProvider
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<GlobalSettingsProvider>
-
- jenkins.mvn.GlobalSettingsProvider
-
- jenkins.mvn.FilePathGlobalSettingsProvider
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<GlobalSettingsProvider>
public class FilePathGlobalSettingsProvider extends GlobalSettingsProvider
- Since:
- 1.491
- Author:
- Nicolas De Loof, Dominik Bartholdi (imod)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FilePathGlobalSettingsProvider.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description FilePathGlobalSettingsProvider(String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPath()
FilePath
supplySettings(AbstractBuild<?,?> build, TaskListener listener)
configure maven launcher argument list with adequate settings path-
Methods inherited from class jenkins.mvn.GlobalSettingsProvider
getSettingsFilePath, getSettingsRemotePath, parseSettingsProvider
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
FilePathGlobalSettingsProvider
@DataBoundConstructor public FilePathGlobalSettingsProvider(String path)
-
-
Method Detail
-
getPath
public String getPath()
-
supplySettings
public FilePath supplySettings(AbstractBuild<?,?> build, TaskListener listener)
Description copied from class:GlobalSettingsProvider
configure maven launcher argument list with adequate settings path- Specified by:
supplySettings
in classGlobalSettingsProvider
- Parameters:
build
- the build to provide the settings for- Returns:
- the filepath to the provided file.
null
if no settings will be provided.
-
-