public abstract class AbstractNeedsEnvironmentMojo extends AbstractBeanstalkMojo
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractNeedsEnvironmentMojo.ConfigurableOptionSetting |
| Modifier and Type | Field and Description |
|---|---|
protected String |
applicationName
Beanstalk Application Name
|
static String |
BEANSTALKX_PREFIX |
static Map<String,com.amazonaws.services.elasticbeanstalk.model.ConfigurationOptionSetting> |
COMMON_PARAMETERS |
static Comparator<com.amazonaws.services.elasticbeanstalk.model.ConfigurationOptionSetting> |
COS_COMPARATOR |
protected com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription |
curEnv
Current Environment
|
protected String |
environmentRef
Environment Ref
|
protected org.apache.maven.project.MavenProject |
project
Maven Project
|
endpointUrl| Constructor and Description |
|---|
AbstractNeedsEnvironmentMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
protected Collection<com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription> |
getEnvironmentsFor(String applicationName)
Returns a list of environments for applicationName
|
protected com.amazonaws.services.elasticbeanstalk.model.ConfigurationOptionSetting[] |
introspectOptionSettings() |
protected String |
lookupVersionLabel(String appName,
String versionLabel) |
protected void |
waitForNotUpdating() |
ensureSuffixStripped, getConfigurationTemplates, getOptionSettings, getOptionsToRemove, getService, handleNonSingle, handleResults, harmfulOptionSettingP, lookupEnvironment, lookupSolutionStack, lookupTemplateNamecontextualize, createServiceFor, displayResults, execute, executeInternal, exposeSettings, getAWSCredentials, getClientConfiguration, getClientFactory, getProperties, getRegion, getUserAgent, handleException, isVerbose, setupService, setupVersionpublic static final String BEANSTALKX_PREFIX
public static final Comparator<com.amazonaws.services.elasticbeanstalk.model.ConfigurationOptionSetting> COS_COMPARATOR
public static final Map<String,com.amazonaws.services.elasticbeanstalk.model.ConfigurationOptionSetting> COMMON_PARAMETERS
@Parameter(property="beanstalk.applicationName",
defaultValue="${project.artifactId}",
required=true)
protected String applicationName
@Parameter(defaultValue="${project}",
readonly=true)
protected org.apache.maven.project.MavenProject project
@Parameter(property="beanstalk.environmentRef",
defaultValue="${project.artifactId}.elasticbeanstalk.com")
protected String environmentRef
protected com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription curEnv
protected void configure()
configure in class br.com.ingenieux.mojo.aws.AbstractAWSMojo<com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient>protected Collection<com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription> getEnvironmentsFor(String applicationName)
applicationName - applicationNameprotected com.amazonaws.services.elasticbeanstalk.model.ConfigurationOptionSetting[] introspectOptionSettings()
protected void waitForNotUpdating()
throws org.apache.maven.plugin.AbstractMojoExecutionException,
org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.AbstractMojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2011–2019 ingenieux. All rights reserved.