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

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

public class MvnGlobalSettingsProvider
extends jenkins.mvn.GlobalSettingsProvider

This provider delivers the global 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 MvnGlobalSettingsProvider.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
MvnGlobalSettingsProvider()
          Deprecated. 
MvnGlobalSettingsProvider(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.GlobalSettingsProvider
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

MvnGlobalSettingsProvider

@Deprecated
public MvnGlobalSettingsProvider()
Deprecated. 

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


MvnGlobalSettingsProvider

@DataBoundConstructor
public MvnGlobalSettingsProvider(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.GlobalSettingsProvider

copyConfigContentToFilePath

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


Copyright © 2004-2012. All Rights Reserved.