org.jenkinsci.plugins.awsbeanstalkpublisher
Class AWSEBDeploymentPublisher

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

public class AWSEBDeploymentPublisher
extends hudson.tasks.Recorder
implements AWSEBDeploymentProvider

AWS Elastic Beanstalk Deployment


Nested Class Summary
static class AWSEBDeploymentPublisher.DescriptorImpl
          Descriptor for HelloWorldBuilder.
 
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
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
AWSEBDeploymentPublisher(com.amazonaws.regions.Regions awsRegion, String applicationName, String environmentList, String bucketName, String keyPrefix, String versionLabelFormat, String rootObject, String includes, String excludes, String credentials, Boolean overwriteExistingFile)
           
 
Method Summary
 String getApplicationName()
           
 com.amazonaws.regions.Regions getAwsRegion()
           
 String getBucketName()
           
 AWSEBCredentials getCredentials()
           
 AWSEBDeploymentPublisher.DescriptorImpl getDescriptor()
           
 String getEnvironmentList()
           
 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.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
 

Constructor Detail

AWSEBDeploymentPublisher

@DataBoundConstructor
public AWSEBDeploymentPublisher(com.amazonaws.regions.Regions awsRegion,
                                                     String applicationName,
                                                     String environmentList,
                                                     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

getEnvironmentList

public String getEnvironmentList()

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

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

getDescriptor

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


Copyright © 2014. All Rights Reserved.