jfullam.vfabric.jenkins.plugin
Class ApplicationDirectorPostBuildDeployer

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
      extended by hudson.tasks.BuildWrapper
          extended by jfullam.vfabric.jenkins.plugin.ApplicationDirectorPostBuildDeployer
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>

public class ApplicationDirectorPostBuildDeployer
extends hudson.tasks.BuildWrapper

BuildWrapper plugin that provides the ability to take post build actions using vFabric Application Director. Specific actions include the re deployment of a blueprint in Application Director or the updating of an existing deployment.

Author:
Jonathan Fullam

Nested Class Summary
static class ApplicationDirectorPostBuildDeployer.Descriptor
          BuildWrapper plugin descriptor.
 
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
hudson.tasks.BuildWrapper.Environment
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
ApplicationDirectorPostBuildDeployer(String provisionOrUpdate, String application, String deploymentProfile, String deployment, String component, String updateProperty, String updatePropertyValue)
           
 
Method Summary
 String getApplication()
           
 String getComponent()
           
 String getDeployment()
           
 String getDeploymentProfile()
           
 ApplicationDirectorPostBuildDeployer.Descriptor getDescriptor()
           
 String getProvisionOrUpdate()
           
 String getUpdateProperty()
           
 String getUpdatePropertyValue()
           
 void setApplication(String application)
           
 void setComponent(String component)
           
 void setDeployment(String deployment)
           
 void setDeploymentProfile(String deploymentProfile)
           
 void setProvisionOrUpdate(String provisionOrUpdate)
           
 hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 void setUpdateProperty(String updateProperty)
           
 void setUpdatePropertyValue(String updatePropertyValue)
           
 
Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, decorateLogger, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, setUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationDirectorPostBuildDeployer

@DataBoundConstructor
public ApplicationDirectorPostBuildDeployer(String provisionOrUpdate,
                                                                 String application,
                                                                 String deploymentProfile,
                                                                 String deployment,
                                                                 String component,
                                                                 String updateProperty,
                                                                 String updatePropertyValue)
Method Detail

setUp

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

getApplication

public String getApplication()

setApplication

public void setApplication(String application)

getProvisionOrUpdate

public String getProvisionOrUpdate()

setProvisionOrUpdate

public void setProvisionOrUpdate(String provisionOrUpdate)

getDeploymentProfile

public String getDeploymentProfile()

setDeploymentProfile

public void setDeploymentProfile(String deploymentProfile)

getDeployment

public String getDeployment()

setDeployment

public void setDeployment(String deployment)

getUpdateProperty

public String getUpdateProperty()

setUpdateProperty

public void setUpdateProperty(String updateProperty)

getComponent

public String getComponent()

setComponent

public void setComponent(String component)

getUpdatePropertyValue

public String getUpdatePropertyValue()

setUpdatePropertyValue

public void setUpdatePropertyValue(String updatePropertyValue)

getDescriptor

public ApplicationDirectorPostBuildDeployer.Descriptor getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.BuildWrapper>
Overrides:
getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>


Copyright © 2004-2012. All Rights Reserved.