@Mojo(threadSafe=true, name="start", defaultPhase=PRE_INTEGRATION_TEST) public final class StartMojo extends AbstractMojo
| Constructor and Description |
|---|
StartMojo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
clear()
If true, always delete existing database files and create a new instance
from scratch.
|
Config |
config()
Get configuration.
|
File |
dataDir()
Get directory with MySQL data.
|
File |
distDir()
Get directory with MySQL dist.
|
void |
execute() |
void |
run(Instances instances)
Run custom functionality.
|
void |
setSkip(boolean skp)
Set skip option.
|
File |
socketFile()
Get MySQL socket location.
|
getLog, getPluginContext, setLog, setPluginContextpublic void run(Instances instances) throws MojoFailureException
instances - Instances to work withMojoFailureException - If failspublic void setSkip(boolean skp)
skp - Shall we skip execution?public void execute()
throws MojoFailureException
MojoFailureExceptionpublic File distDir() throws MojoFailureException
MojoFailureException - If failspublic File dataDir()
public File socketFile()
public boolean clear()
public Config config()
Copyright © 2012–2014 jcabi.com. All rights reserved.