com.michelin.cio.hudson.plugins.copytoslave
Class CopyToSlaveBuildWrapper

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
      extended by hudson.tasks.BuildWrapper
          extended by com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>

public class CopyToSlaveBuildWrapper
extends hudson.tasks.BuildWrapper

Author:
Romain Seguy (http://openromain.blogspot.com)

Nested Class Summary
static class CopyToSlaveBuildWrapper.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
hudson.tasks.BuildWrapper.Environment
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static java.lang.String RELATIVE_TO_HOME
           
static java.lang.String RELATIVE_TO_USERCONTENT
           
static java.lang.String RELATIVE_TO_WORKSPACE
           
 
Constructor Summary
CopyToSlaveBuildWrapper(java.lang.String includes, java.lang.String excludes, boolean flatten, boolean includeAntExcludes, java.lang.String relativeTo, boolean hudsonHomeRelative)
           
 
Method Summary
 java.lang.String getExcludes()
           
 java.lang.String getIncludes()
           
 java.lang.String getRelativeTo()
           
 boolean isFlatten()
           
 boolean isIncludeAntExcludes()
           
 hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 hudson.tasks.BuildWrapper.Environment setUp(hudson.model.Build build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, decorateLogger, getProjectAction, getProjectActions, makeBuildVariables
 
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
 

Field Detail

RELATIVE_TO_HOME

public static final java.lang.String RELATIVE_TO_HOME
See Also:
Constant Field Values

RELATIVE_TO_USERCONTENT

public static final java.lang.String RELATIVE_TO_USERCONTENT
See Also:
Constant Field Values

RELATIVE_TO_WORKSPACE

public static final java.lang.String RELATIVE_TO_WORKSPACE
See Also:
Constant Field Values
Constructor Detail

CopyToSlaveBuildWrapper

@DataBoundConstructor
public CopyToSlaveBuildWrapper(java.lang.String includes,
                                                    java.lang.String excludes,
                                                    boolean flatten,
                                                    boolean includeAntExcludes,
                                                    java.lang.String relativeTo,
                                                    boolean hudsonHomeRelative)
Method Detail

setUp

public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
                                                   hudson.Launcher launcher,
                                                   hudson.model.BuildListener listener)
                                            throws java.io.IOException,
                                                   java.lang.InterruptedException
Overrides:
setUp in class hudson.tasks.BuildWrapper
Throws:
java.io.IOException
java.lang.InterruptedException

setUp

public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.Build build,
                                                   hudson.Launcher launcher,
                                                   hudson.model.BuildListener listener)
                                            throws java.io.IOException,
                                                   java.lang.InterruptedException
Overrides:
setUp in class hudson.tasks.BuildWrapper
Throws:
java.io.IOException
java.lang.InterruptedException

getIncludes

public java.lang.String getIncludes()

getExcludes

public java.lang.String getExcludes()

getRelativeTo

public java.lang.String getRelativeTo()

isIncludeAntExcludes

public boolean isIncludeAntExcludes()

isFlatten

public boolean isFlatten()


Copyright © 2011. All Rights Reserved.