jenkins.mvn
Class FilePathSettingsProvider

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<SettingsProvider>
      extended by jenkins.mvn.SettingsProvider
          extended by jenkins.mvn.FilePathSettingsProvider
All Implemented Interfaces:
ExtensionPoint, Describable<SettingsProvider>

public class FilePathSettingsProvider
extends SettingsProvider

Since:
1.491
Author:
Nicolas De Loof, Dominik Bartholdi (imod)

Nested Class Summary
static class FilePathSettingsProvider.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
FilePathSettingsProvider(String path)
           
 
Method Summary
 String getPath()
           
 FilePath supplySettings(AbstractBuild<?,?> build, TaskListener listener)
          Configure maven launcher argument list with adequate settings path.
 
Methods inherited from class jenkins.mvn.SettingsProvider
getSettingsFilePath, getSettingsRemotePath, parseSettingsProvider
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilePathSettingsProvider

@DataBoundConstructor
public FilePathSettingsProvider(String path)
Method Detail

getPath

public String getPath()

supplySettings

public FilePath supplySettings(AbstractBuild<?,?> build,
                               TaskListener listener)
Description copied from class: SettingsProvider
Configure maven launcher argument list with adequate settings path. Implementations should be aware that this method might get called multiple times during a build.

Specified by:
supplySettings in class SettingsProvider
Returns:
the filepath to the provided file. null if no settings will be provided.


Copyright © 2004-2013. All Rights Reserved.