public class WaitForEnvironmentCommand extends BaseCommand<WaitForEnvironmentContext,com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription>
Modifier and Type | Field and Description |
---|---|
static long |
POLL_INTERVAL
Poll Interval
|
logger, parentMojo, service
Constructor and Description |
---|
WaitForEnvironmentCommand(AbstractBeanstalkMojo parentMojo)
Constructor
|
Modifier and Type | Method and Description |
---|---|
com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription |
executeInternal(WaitForEnvironmentContext context) |
protected List<com.google.common.base.Predicate<com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription>> |
getEnvironmentDescriptionPredicate(WaitForEnvironmentContext context) |
Collection<com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription> |
lookupInternal(WaitForEnvironmentContext context) |
void |
sleepInterval(long pollInterval) |
debug, execute, info, isDebugEnabled, isInfoEnabled
public static final long POLL_INTERVAL
public WaitForEnvironmentCommand(AbstractBeanstalkMojo parentMojo) throws org.apache.maven.plugin.MojoExecutionException
parentMojo
- parent mojoorg.apache.maven.plugin.MojoExecutionException
public Collection<com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription> lookupInternal(WaitForEnvironmentContext context)
protected List<com.google.common.base.Predicate<com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription>> getEnvironmentDescriptionPredicate(WaitForEnvironmentContext context)
public com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription executeInternal(WaitForEnvironmentContext context) throws Exception
executeInternal
in class BaseCommand<WaitForEnvironmentContext,com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription>
Exception
public void sleepInterval(long pollInterval)
Copyright © 2011–2019 ingenieux. All rights reserved.