@Loggable(value=2) public final class DeployMojo extends AbstractMojo
| Constructor and Description |
|---|
DeployMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
exec(com.jcabi.beanstalk.maven.plugin.Application app,
com.jcabi.beanstalk.maven.plugin.Version version,
String template)
Deploy using this EBT client.
|
void |
execute() |
protected boolean |
isGreen(com.jcabi.beanstalk.maven.plugin.Environment env)
Wait for green status.
|
protected void |
postMortem(com.jcabi.beanstalk.maven.plugin.Environment env)
Report when environment is failed.
|
void |
setSkip(boolean skp)
Set skip option.
|
getLog, getPluginContext, setLog, setPluginContextprotected void exec(@NotNull com.jcabi.beanstalk.maven.plugin.Application app, @NotNull com.jcabi.beanstalk.maven.plugin.Version version, @NotNull String template)
app - Application to deploy toversion - Version to deploytemplate - Template to usepublic void setSkip(boolean skp)
skp - Shall we skip execution?public void execute()
throws MojoFailureException
MojoFailureExceptionprotected void postMortem(com.jcabi.beanstalk.maven.plugin.Environment env)
env - The environmentprotected boolean isGreen(com.jcabi.beanstalk.maven.plugin.Environment env)
env - The environmentCopyright © 2012–2013 jcabi.com. All rights reserved.