public abstract class AbstractBeanstalkMojo
extends br.com.ingenieux.mojo.aws.AbstractAWSMojo<com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient>
Modifier and Type | Field and Description |
---|---|
protected String |
endpointUrl
Endpoint URL
|
Constructor and Description |
---|
AbstractBeanstalkMojo() |
Modifier and Type | Method and Description |
---|---|
String |
ensureSuffixStripped(String cnamePrefix) |
protected List<String> |
getConfigurationTemplates(String applicationName) |
protected List<com.amazonaws.services.elasticbeanstalk.model.ConfigurationOptionSetting> |
getOptionSettings(com.amazonaws.services.elasticbeanstalk.model.ConfigurationOptionSetting[] optionSettings) |
protected List<com.amazonaws.services.elasticbeanstalk.model.OptionSpecification> |
getOptionsToRemove(com.amazonaws.services.elasticbeanstalk.model.OptionSpecification[] optionSettings) |
com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient |
getService() |
protected void |
handleNonSingle(int len) |
protected com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription |
handleResults(Collection<com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription> environments) |
protected boolean |
harmfulOptionSettingP(String environmentId,
com.amazonaws.services.elasticbeanstalk.model.ConfigurationOptionSetting optionSetting)
Boolean predicate for harmful/placebo options
|
protected com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription |
lookupEnvironment(String applicationName,
String environmentRef) |
protected String |
lookupSolutionStack(String solutionStack) |
String |
lookupTemplateName(String applicationName,
String templateName) |
configure, contextualize, createServiceFor, displayResults, execute, executeInternal, exposeSettings, getAWSCredentials, getClientConfiguration, getClientFactory, getProperties, getRegion, getUserAgent, handleException, isVerbose, setupService, setupVersion
@Parameter(property="beanstalk.endpointUrl") protected String endpointUrl
protected List<com.amazonaws.services.elasticbeanstalk.model.ConfigurationOptionSetting> getOptionSettings(com.amazonaws.services.elasticbeanstalk.model.ConfigurationOptionSetting[] optionSettings)
protected List<com.amazonaws.services.elasticbeanstalk.model.OptionSpecification> getOptionsToRemove(com.amazonaws.services.elasticbeanstalk.model.OptionSpecification[] optionSettings)
protected com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription lookupEnvironment(String applicationName, String environmentRef) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription handleResults(Collection<com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription> environments) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void handleNonSingle(int len) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected boolean harmfulOptionSettingP(String environmentId, com.amazonaws.services.elasticbeanstalk.model.ConfigurationOptionSetting optionSetting) throws Exception
I really mean harmful - If you mention a terminated environment settings, Elastic Beanstalk will accept, but this might lead to inconsistent states, specially when creating / listing environments.
Trust me on this one.
environmentId
- environment id to lookupoptionSetting
- option settingException
public com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient getService()
getService
in class br.com.ingenieux.mojo.aws.AbstractAWSMojo<com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient>
Copyright © 2011–2019 ingenieux. All rights reserved.