@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class PostManageExtensionPluginResult extends java.lang.Object implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static PostManageExtensionPluginResult |
SUCCESS
A predefined result instance that indicates all processing completed
successfully.
|
Constructor and Description |
---|
PostManageExtensionPluginResult(boolean restartServer,
java.util.List<java.lang.String> messages)
Creates a new post manage extension plugin result with the provided
information.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getMessages()
Retrieves the list of messages to print to the console.
|
boolean |
restartServer()
Indicates whether the manage-extension tool should restart the server
after the installation if it was previous started.
|
java.lang.String |
toString()
Retrieves a string representation of this post manage extension plugin
result.
|
public static final PostManageExtensionPluginResult SUCCESS
public PostManageExtensionPluginResult(boolean restartServer, java.util.List<java.lang.String> messages)
restartServer
- Indicates whether the manage-extension tool
should restart the server after the
installation if it was previous started.messages
- Messages to print to the console or
null
.public boolean restartServer()
true
the manage-extension tool should restart
the server, or false
if not.public java.util.List<java.lang.String> getMessages()
null
if no messages are to be printed.public java.lang.String toString()
toString
in class java.lang.Object