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

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Notifier
              extended by com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class CopyToMasterNotifier
extends hudson.tasks.Notifier

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

Nested Class Summary
static class CopyToMasterNotifier.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
CopyToMasterNotifier(String includes, String excludes, boolean overrideDestinationFolder, String destinationFolder)
           
 
Method Summary
 String getDestinationFolder()
           
 String getExcludes()
           
 String getIncludes()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 boolean isOverrideDestinationFolder()
           
 boolean needsToRunAfterFinalized()
           
 boolean perform(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Notifier
getDescriptor
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRun, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, prebuild
 

Constructor Detail

CopyToMasterNotifier

@DataBoundConstructor
public CopyToMasterNotifier(String includes,
                                                 String excludes,
                                                 boolean overrideDestinationFolder,
                                                 String destinationFolder)
Method Detail

needsToRunAfterFinalized

public boolean needsToRunAfterFinalized()
Overrides:
needsToRunAfterFinalized in class hudson.tasks.Publisher

perform

public boolean perform(hudson.model.AbstractBuild build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws InterruptedException,
                       IOException
Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
InterruptedException
IOException

getIncludes

public String getIncludes()

getExcludes

public String getExcludes()

getDestinationFolder

public String getDestinationFolder()

isOverrideDestinationFolder

public boolean isOverrideDestinationFolder()

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()


Copyright © 2004-2012 Hudson. All Rights Reserved.