abstract class AbstractRedisGrailsExtension extends java.lang.Object
Abstract class for Redis Grails extensions.
| Type | Name and description |
|---|---|
static int |
DEFAULT_REDIS_PORT |
static java.lang.String |
DEFAULT_REDIS_VERSION |
static java.lang.String |
REDIS_VERSION_PROPERTY |
| Constructor and description |
|---|
AbstractRedisGrailsExtension() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static DockerImageName |
getDesiredRedisDockerName()Returns the configured docker image name. |
|
static java.lang.String |
getDesiredRedisVersion()Returns the desired redis version. |
|
boolean |
isIntegrationSpec(SpecInfo spec) |
|
boolean |
isIntegrationTestRun()Integration tests have a special property added by the Grails Gradle plugin that ensures they can be detected so different extensions can be applied on Unit vs Integration. |
|
boolean |
isRedisAlreadyRunning()Determines if Redis is already running. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Returns the configured docker image name.
Returns the desired redis version. If not set, it will be defaulted to DEFAULT_REDIS_VERSION.
Integration tests have a special property added by the Grails Gradle plugin that ensures they can be detected so different extensions can be applied on Unit vs Integration.
Determines if Redis is already running. In the event that it is, extensions will not override it.