@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class StartupPluginResult extends java.lang.Object implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static StartupPluginResult |
SUCCESS
A predefined result instance that indicates all processing completed
successfully.
|
Constructor and Description |
---|
StartupPluginResult(boolean completedSuccessfully,
boolean continueStartup,
java.lang.CharSequence message)
Creates a new startup plugin result with the provided information.
|
Modifier and Type | Method and Description |
---|---|
boolean |
completedSuccessfully()
Indicates whether the plugin successfully completed its processing.
|
boolean |
continueStartup()
Indicates whether the server startup process should continue.
|
java.lang.String |
getMessage()
Retrieves a message with additional information about the processing
performed by this plugin, if available.
|
java.lang.String |
toString()
Retrieves a string representation of this startup plugin result.
|
public static final StartupPluginResult SUCCESS
public StartupPluginResult(boolean completedSuccessfully, boolean continueStartup, java.lang.CharSequence message)
completedSuccessfully
- Indicates whether the plugin successfully
completed its processing.continueStartup
- Indicates whether server startup processing
should continue.message
- An optional message providing additional
information about the result of the plugin
processing.public boolean completedSuccessfully()
true
if the plugin successfully completed its processing,
or false
if not.public boolean continueStartup()
true
if the server startup process should continue, or
false
if not.public java.lang.String getMessage()
null
if none is available.public java.lang.String toString()
toString
in class java.lang.Object