org.jenkinsci.plugins.awsbeanstalkpublisher
Class AWSEBPublisher

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

public class AWSEBPublisher
extends hudson.tasks.Recorder
implements AWSEBProvider

AWS Elastic Beanstalk Deployment


Nested Class Summary
static class AWSEBPublisher.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
AWSEBPublisher(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()
           
 String getApplicationName()
           
 com.amazonaws.regions.Regions getAwsRegion()
           
 String getBucketName()
           
 AWSEBCredentials getCredentials()
           
 AWSEBPublisher.DescriptorImpl getDescriptor()
           
 String getEnvironmentList()
           
 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.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

AWSEBPublisher

@DataBoundConstructor
public AWSEBPublisher(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

getEnvironmentList

public String getEnvironmentList()

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

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