public abstract class AbstractStartRedisMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
static String |
REDIS_GROUP_CONTEXT_PROPERTY_NAME |
| Constructor and Description |
|---|
AbstractStartRedisMojo() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
execute()
Main mojo execution loop.
|
abstract int |
getPort() |
abstract void |
setPort(int port) |
void |
start(Boolean isForked)
Start the redis server
|
public static final String REDIS_GROUP_CONTEXT_PROPERTY_NAME
public abstract void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic void start(Boolean isForked) throws InterruptedException
isForked - is a Boolean determing whether to fork the redis server or not.InterruptedExceptionpublic abstract void setPort(int port)
public abstract int getPort()
Copyright © 2013 Github. All Rights Reserved.