public abstract class SplashScreen extends Object
SplashScreen splashScreen = SplashScreen.getInstance(ServerStartupSplashScreen.class);
splashScreen.addBody("Some extra text");
Modifier and Type | Field and Description |
---|---|
protected List<String> |
body |
protected List<String> |
footer |
protected List<String> |
header |
static String |
RUNTIME_VERBOSE |
protected static PropertyChecker |
RUNTIME_VERBOSE_PROPERTY
Determines whether extra information should be display.
|
protected static String |
VALUE_FORMAT |
Modifier | Constructor and Description |
---|---|
protected |
SplashScreen() |
Modifier and Type | Method and Description |
---|---|
void |
addBody(String line) |
protected void |
doBody(String line) |
protected void |
doFooter(MuleContext context) |
protected void |
doHeader(MuleContext context) |
protected void |
listItems(Collection<String> items,
String description) |
protected void |
listItems(Map<String,String> map,
String description) |
static String |
miniSplash(String message) |
void |
setFooter(MuleContext context) |
void |
setHeader(MuleContext context)
Setting the header clears body and footer assuming a new
splash-screen is built.
|
String |
toString() |
public static final String RUNTIME_VERBOSE
protected static PropertyChecker RUNTIME_VERBOSE_PROPERTY
protected static final String VALUE_FORMAT
public final void setHeader(MuleContext context)
public final void addBody(String line)
public final void setFooter(MuleContext context)
protected void doHeader(MuleContext context)
protected void doBody(String line)
protected void doFooter(MuleContext context)
protected void listItems(Collection<String> items, String description)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.