com.midvision.rapiddeploy.plugin.jenkins.buildstep
Class RapidDeployBuildDeployer

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Builder
          extended by com.midvision.rapiddeploy.plugin.jenkins.buildstep.RapidDeployBuildDeployer
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep

public class RapidDeployBuildDeployer
extends hudson.tasks.Builder


Nested Class Summary
static class RapidDeployBuildDeployer.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static org.apache.commons.logging.Log logger
           
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
RapidDeployBuildDeployer(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 RapidDeployBuildDeployer.
 String getServerUrl()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Builder
all, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, 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

RapidDeployBuildDeployer

@DataBoundConstructor
public RapidDeployBuildDeployer(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.Builder>
Overrides:
getDescriptor in class hudson.tasks.Builder

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
Descriptor for RapidDeployBuildDeployer. Used as a singleton. The class is marked as public so that it can be accessed from views.

Specified by:
getRequiredMonitorService in interface hudson.tasks.BuildStep
Overrides:
getRequiredMonitorService in class hudson.tasks.Builder


Copyright © 2004-2013. All Rights Reserved.