public abstract class AbstractNeedsEnvironmentMojo extends AbstractBeanstalkMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
applicationName
Beanstalk Application Name
|
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
|
endpointUrlawsCredentialsProvider, clientFactory, context, ignoreExceptions, regionName, regionObj, serverId, settings, verbose, version| Constructor and Description |
|---|
AbstractNeedsEnvironmentMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
protected com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription |
getEnvironmentForCNamePrefix(String applicationName,
String cnamePrefix)
Returns a list of environments for current application name
|
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() |
ensureSuffix, ensureSuffixStripped, getConfigurationTemplates, getOptionSettings, getService, globify, handleNonSingle, handleResults, harmfulOptionSettingP, hasWildcards, lookupEnvironment, lookupSolutionStack, lookupTemplateNamecontextualize, displayResults, execute, executeInternal, exposeSettings, getAWSCredentials, getClientConfiguration, getClientFactory, getRegion, getUserAgent, handleException, isVerbose, setupService, setupVersionpublic 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 AbstractAWSMojo<com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient>protected com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription getEnvironmentForCNamePrefix(String applicationName, String cnamePrefix)
cnamePrefix - cname prefix to matchprotected 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-2015 ingenieux. All Rights Reserved.