public class ContextRunner extends Object
ApplicationRunner.| Constructor and Description |
|---|
ContextRunner() |
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.boot.builder.SpringApplicationBuilder |
builder(Class<?> type) |
void |
close() |
org.springframework.context.ConfigurableApplicationContext |
getContext() |
Throwable |
getError() |
boolean |
isRunning() |
void |
run(String source,
Map<String,Object> properties,
String... args) |
public void close()
public org.springframework.context.ConfigurableApplicationContext getContext()
public boolean isRunning()
public Throwable getError()
public static org.springframework.boot.builder.SpringApplicationBuilder builder(Class<?> type)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.