org.jenkinsci.plugins.awsbeanstalkpublisher
Class AWSEBBuilder

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

public class AWSEBBuilder
extends hudson.tasks.Builder
implements hudson.tasks.BuildStep, AWSEBProvider

AWS Elastic Beanstalk Deployment


Nested Class Summary
static class AWSEBBuilder.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
AWSEBBuilder(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, Boolean failOnError)
           
 
Method Summary
static void addAlias()
           
 hudson.util.ListBoxModel doFillCredentialsItems()
           
 String getApplicationName()
           
 com.amazonaws.regions.Regions getAwsRegion()
           
 String getBucketName()
           
 AWSEBCredentials getCredentials()
           
 AWSEBBuilder.DescriptorImpl getDescriptor()
           
 List<String> getEnvironments()
           
 String getExcludes()
           
 boolean getFailOnError()
           
 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

AWSEBBuilder

@DataBoundConstructor
public AWSEBBuilder(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,
                                         Boolean failOnError)
Method Detail

addAlias

@Initializer(before=PLUGINS_STARTED)
public static void addAlias()

getFailOnError

public boolean getFailOnError()
Specified by:
getFailOnError in interface AWSEBProvider

getAwsRegion

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

getApplicationName

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

getEnvironments

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

getBucketName

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

getKeyPrefix

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

getVersionLabelFormat

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

getRootObject

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

getIncludes

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

getExcludes

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

isOverwriteExistingFile

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

getCredentials

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

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 AWSEBBuilder.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.