public interface IToolResult
ToolResult| Modifier and Type | Method and Description |
|---|---|
IToolResultSeverity |
getSeverity()
Gets the severity of the execution result.
|
IToolContext |
getToolContext()
Gets the tool context that was used for executing the tool descriptor.
|
ToolDescriptor |
getToolDescriptor()
Gets executed tool descriptor.
|
java.lang.String |
getToolMessage()
Gets the returned tool message or
null, if the tool does not
return a message. |
IToolOutput |
getToolOutput()
Returns the
IToolOutput. |
ToolDescriptor getToolDescriptor()
java.lang.String getToolMessage()
null, if the tool does not
return a message.
Tool messages will always be displayed to the user after the action has finished or when the tool returned an error severity. Therefore tools should not return messages for debug/trace purposes, since it will affect the user experience.
nullgetSeverity()IToolResultSeverity getSeverity()
The returned severity can affect the executed action in two ways:
Information, Warning and Error
severities affect how returned tool messages are being displayed.
Error severity will cause the action to be aborted,
preventing any subsequent tool descriptor to be executed.
ToolResultSeverityIToolContext getToolContext()
IToolOutput getToolOutput()
IToolOutput.Copyright © 2015 Micro Focus GmbH. All rights reserved.