org.jenkinsci.plugins.configfiles.buildwrapper
Class ManagedFilesEnvironment

java.lang.Object
  extended by hudson.model.Environment
      extended by org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFilesEnvironment

public class ManagedFilesEnvironment
extends hudson.model.Environment

Builds the environment to provide config files. It copies the configured files to the required locations and deletes all temp files after execution.

Author:
domi

Constructor Summary
ManagedFilesEnvironment(Map<ManagedFile,hudson.FilePath> file2Path)
           
 
Method Summary
 void buildEnvVars(Map<String,String> env)
           
 boolean tearDown(hudson.model.AbstractBuild build, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.model.Environment
create
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedFilesEnvironment

public ManagedFilesEnvironment(Map<ManagedFile,hudson.FilePath> file2Path)
Method Detail

buildEnvVars

public void buildEnvVars(Map<String,String> env)
Overrides:
buildEnvVars in class hudson.model.Environment

tearDown

public boolean tearDown(hudson.model.AbstractBuild build,
                        hudson.model.BuildListener listener)
                 throws IOException,
                        InterruptedException
Overrides:
tearDown in class hudson.model.Environment
Throws:
IOException
InterruptedException


Copyright © 2004-2012. All Rights Reserved.