com.midvision.rapiddeploy.plugin.jenkins.postbuildstep
Class RapidDeployPostBuildDeployer

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Notifier
              extended by com.midvision.rapiddeploy.plugin.jenkins.postbuildstep.RapidDeployPostBuildDeployer
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class RapidDeployPostBuildDeployer
extends hudson.tasks.Notifier


Nested Class Summary
static class RapidDeployPostBuildDeployer.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
static org.apache.commons.logging.Log logger
           
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
RapidDeployPostBuildDeployer(String serverUrl, String authenticationToken, String project, String environment, String packageName)
           
 
Method Summary
 String getAuthenticationToken()
           
 hudson.tasks.BuildStepDescriptor getDescriptor()
           
 String getEnvironment()
           
 String getPackageName()
           
 String getProject()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
          Descriptor for RapidDeployPostBuildDeployer.
 String getServerUrl()
           
 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

logger

public static final org.apache.commons.logging.Log logger
Constructor Detail

RapidDeployPostBuildDeployer

@DataBoundConstructor
public RapidDeployPostBuildDeployer(String serverUrl,
                                                         String authenticationToken,
                                                         String project,
                                                         String environment,
                                                         String packageName)
Method Detail

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer

getProject

public String getProject()

getServerUrl

public String getServerUrl()

getAuthenticationToken

public String getAuthenticationToken()

getEnvironment

public String getEnvironment()

getPackageName

public String getPackageName()

getDescriptor

public hudson.tasks.BuildStepDescriptor 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()
Descriptor for RapidDeployPostBuildDeployer. Used as a singleton. The class is marked as public so that it can be accessed from views.



Copyright © 2004-2013. All Rights Reserved.