public abstract class EmbeddedApplications extends Object
EmbeddedApplication objects.| Modifier and Type | Method and Description |
|---|---|
static EmbeddedApplication |
embeddedApp(BaseDirBuilder baseDir,
Closure<?> config)
Constructs a closure backed embedded application with a base dir.
|
static EmbeddedApplication |
embeddedApp(Closure<?> config)
Constructs a closure backed embedded application with no base dir.
|
public static EmbeddedApplication embeddedApp(@DelegatesTo(value=ClosureBackedEmbeddedApplication.class,strategy=1) Closure<?> config)
config - the definition of the applicationClosureBackedEmbeddedApplicationpublic static EmbeddedApplication embeddedApp(BaseDirBuilder baseDir, @DelegatesTo(value=ClosureBackedEmbeddedApplication.class,strategy=1) Closure<?> config)
baseDir - the builder whose BaseDirBuilder.build() method will be called to provide the base dir for this appconfig - the definition of the application