org.zeroturnaround.jenkins
Class LiveRebelDeployPublisher

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Notifier
              extended by org.zeroturnaround.jenkins.LiveRebelDeployPublisher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep, Serializable

public class LiveRebelDeployPublisher
extends hudson.tasks.Notifier
implements Serializable

Author:
Juri Timoshin
See Also:
Serialized Form

Nested Class Summary
static class LiveRebelDeployPublisher.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
 String artifacts
           
 boolean useOfflineUpdateIfCompatibleWithWarnings
           
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
LiveRebelDeployPublisher(String artifacts, List<ServerCheckbox> servers, boolean useOfflineUpdateIfCompatibleWithWarnings)
           
 
Method Summary
 List<String> getDeployableServers()
           
 LiveRebelDeployPublisher.DescriptorImpl getDescriptor()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 List<ServerCheckbox> getServers()
           
 boolean perform(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, 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
 

Field Detail

artifacts

public final String artifacts

useOfflineUpdateIfCompatibleWithWarnings

public final boolean useOfflineUpdateIfCompatibleWithWarnings
Constructor Detail

LiveRebelDeployPublisher

@DataBoundConstructor
public LiveRebelDeployPublisher(String artifacts,
                                                     List<ServerCheckbox> servers,
                                                     boolean useOfflineUpdateIfCompatibleWithWarnings)
Method Detail

perform

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

getDescriptor

public LiveRebelDeployPublisher.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>
Overrides:
getDescriptor in class hudson.tasks.Notifier

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
Specified by:
getRequiredMonitorService in interface hudson.tasks.BuildStep

getDeployableServers

public List<String> getDeployableServers()

getServers

public List<ServerCheckbox> getServers()


Copyright © 2004-2011 Hudson. All Rights Reserved.