org.jenkinsci.plugins.awsbeanstalkpublisher
Class AWSEBDeploymentBuilder

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Builder
          extended by org.jenkinsci.plugins.awsbeanstalkpublisher.AWSEBDeploymentBuilder
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep, AWSEBDeploymentProvider

public class AWSEBDeploymentBuilder
extends hudson.tasks.Builder
implements hudson.tasks.BuildStep, AWSEBDeploymentProvider

AWS Elastic Beanstalk Deployment


Nested Class Summary
static class AWSEBDeploymentBuilder.DescriptorImpl
          Descriptor for HelloWorldBuilder.
 
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
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
AWSEBDeploymentBuilder(com.amazonaws.regions.Regions awsRegion, String applicationName, List<String> environments, String bucketName, String keyPrefix, String versionLabelFormat, String rootObject, String includes, String excludes, String credentials, Boolean overwriteExistingFile)
           
 
Method Summary
 hudson.util.ListBoxModel doFillCredentialsItems()
           
 String getApplicationName()
           
 com.amazonaws.regions.Regions getAwsRegion()
           
 String getBucketName()
           
 AWSEBCredentials getCredentials()
           
 AWSEBDeploymentBuilder.DescriptorImpl getDescriptor()
           
 List<String> getEnvironments()
           
 String getExcludes()
           
 String getIncludes()
           
 String getKeyPrefix()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 String getRootObject()
           
 String getVersionLabelFormat()
           
 boolean isOverwriteExistingFile()
           
 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
 

Constructor Detail

AWSEBDeploymentBuilder

@DataBoundConstructor
public AWSEBDeploymentBuilder(com.amazonaws.regions.Regions awsRegion,
                                                   String applicationName,
                                                   List<String> environments,
                                                   String bucketName,
                                                   String keyPrefix,
                                                   String versionLabelFormat,
                                                   String rootObject,
                                                   String includes,
                                                   String excludes,
                                                   String credentials,
                                                   Boolean overwriteExistingFile)
Method Detail

getAwsRegion

public com.amazonaws.regions.Regions getAwsRegion()
Specified by:
getAwsRegion in interface AWSEBDeploymentProvider

getApplicationName

public String getApplicationName()
Specified by:
getApplicationName in interface AWSEBDeploymentProvider

getEnvironments

public List<String> getEnvironments()
Specified by:
getEnvironments in interface AWSEBDeploymentProvider

getBucketName

public String getBucketName()
Specified by:
getBucketName in interface AWSEBDeploymentProvider

getKeyPrefix

public String getKeyPrefix()
Specified by:
getKeyPrefix in interface AWSEBDeploymentProvider

getVersionLabelFormat

public String getVersionLabelFormat()
Specified by:
getVersionLabelFormat in interface AWSEBDeploymentProvider

getRootObject

public String getRootObject()
Specified by:
getRootObject in interface AWSEBDeploymentProvider

getIncludes

public String getIncludes()
Specified by:
getIncludes in interface AWSEBDeploymentProvider

getExcludes

public String getExcludes()
Specified by:
getExcludes in interface AWSEBDeploymentProvider

isOverwriteExistingFile

public boolean isOverwriteExistingFile()
Specified by:
isOverwriteExistingFile in interface AWSEBDeploymentProvider

getCredentials

public AWSEBCredentials getCredentials()
Specified by:
getCredentials in interface AWSEBDeploymentProvider

doFillCredentialsItems

public hudson.util.ListBoxModel doFillCredentialsItems()

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

getRequiredMonitorService

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

getDescriptor

public AWSEBDeploymentBuilder.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>
Overrides:
getDescriptor in class hudson.tasks.Builder


Copyright © 2014. All Rights Reserved.