public interface OutputObserverVersion1
This interface informs you when the output pane is displaying requests. This is NOT for general output of gradle commands.
This is a mirror of OutputUILord.OutputObserver inside Gradle, but this is meant to aid backward and forward compatibility by shielding you from direct changes within gradle.
| Modifier and Type | Method and Description |
|---|---|
void |
executionRequestAdded(long requestID,
String fullCommandLine,
String displayName,
boolean forceOutputToBeShown)
Notification that a request was added to the output.
|
void |
outputTabClosed(long requestID)
Notification that an output tab was closed, possibly because it was canceled.
|
void |
refreshRequestAdded(long requestID,
boolean forceOutputToBeShown)
Notification that a refresh task list request was added to the output.
|
void |
requestComplete(long requestID,
boolean wasSuccessful)
Notification that a request is complete.
|
void executionRequestAdded(long requestID,
String fullCommandLine,
String displayName,
boolean forceOutputToBeShown)
requestID - an ID you can use to identify this request when it is complete.fullCommandLine - the command line for the request that was addeddisplayName - the display name of this command (often the same as the full command line)forceOutputToBeShown - true if this request wants to force its output to be shownvoid refreshRequestAdded(long requestID,
boolean forceOutputToBeShown)
requestID - an ID you can use to identify this request when it is complete.forceOutputToBeShown - true if this request wants to force its output to be shownvoid requestComplete(long requestID,
boolean wasSuccessful)
requestID - the ID of the request that is complete. It is given to you in executionRequestAdded or refreshRequestAdded.wasSuccessful - true if was successful, false if not or was cancelled.void outputTabClosed(long requestID)
requestID - the ID of the request associated with this tab. It is given to you in executionRequestAdded or refreshRequestAdded.Copyright © 2013. All rights reserved