org.jenkinsci.plugins.configfiles.maven.job
Class MvnSettingsProvider

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<jenkins.mvn.SettingsProvider>
      extended by jenkins.mvn.SettingsProvider
          extended by org.jenkinsci.plugins.configfiles.maven.job.MvnSettingsProvider
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<jenkins.mvn.SettingsProvider>

public class MvnSettingsProvider
extends jenkins.mvn.SettingsProvider

This provider delivers the settings.xml to the job during job/project execution.
Important: Do not rename this class!! For backward compatibility, this class is also created via reflection from the maven-plugin.

Author:
Dominik Bartholdi (imod)

Nested Class Summary
static class MvnSettingsProvider.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
MvnSettingsProvider()
          Deprecated. 
MvnSettingsProvider(String settingsConfigId)
           
 
Method Summary
static hudson.FilePath copyConfigContentToFilePath(String content, hudson.FilePath workspace)
           
 String getSettingsConfigId()
           
 void setSettingsConfigId(String settingsConfigId)
           
 hudson.FilePath supplySettings(hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener)
           
 
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

MvnSettingsProvider

@Deprecated
public MvnSettingsProvider()
Deprecated. 

Default constructor used to load class via reflection by the maven-plugin for backward compatibility


MvnSettingsProvider

@DataBoundConstructor
public MvnSettingsProvider(String settingsConfigId)
Method Detail

getSettingsConfigId

public String getSettingsConfigId()

setSettingsConfigId

public void setSettingsConfigId(String settingsConfigId)

supplySettings

public hudson.FilePath supplySettings(hudson.model.AbstractBuild<?,?> build,
                                      hudson.model.TaskListener listener)
Specified by:
supplySettings in class jenkins.mvn.SettingsProvider

copyConfigContentToFilePath

public static hudson.FilePath copyConfigContentToFilePath(String content,
                                                          hudson.FilePath workspace)
                                                   throws IOException,
                                                          InterruptedException
Throws:
IOException
InterruptedException


Copyright © 2004-2012. All Rights Reserved.