public class AbstractRequest.DummyExecutionInteraction extends Object implements ExecuteGradleCommandServerProtocol.ExecutionInteraction
| Constructor and Description |
|---|
AbstractRequest.DummyExecutionInteraction() |
| Modifier and Type | Method and Description |
|---|---|
void |
reportExecutionFinished(boolean wasSuccessful,
String message,
Throwable throwable)
Notification that execution has finished.
|
void |
reportExecutionStarted()
Notification that gradle has started execution.
|
void |
reportLiveOutput(String message) |
void |
reportNumberOfTasksToExecute(int size)
Notification of the total number of tasks that will be executed.
|
void |
reportTaskComplete(String message,
float percentComplete) |
void |
reportTaskStarted(String message,
float percentComplete) |
public AbstractRequest.DummyExecutionInteraction()
public void reportExecutionStarted()
reportExecutionStarted in interface ExecuteGradleCommandServerProtocol.ExecutionInteractionpublic void reportNumberOfTasksToExecute(int size)
reportNumberOfTasksToExecute in interface ExecuteGradleCommandServerProtocol.ExecutionInteractionsize - the total number of tasks.public void reportExecutionFinished(boolean wasSuccessful,
String message,
Throwable throwable)
reportExecutionFinished in interface ExecuteGradleCommandServerProtocol.ExecutionInteractionwasSuccessful - true if gradle was successful (returned 0)message - the output of gradle if it ran. If it didn't, an error message.throwable - an exception if one occurredpublic void reportTaskStarted(String message, float percentComplete)
reportTaskStarted in interface ExecuteGradleCommandServerProtocol.ExecutionInteractionpublic void reportTaskComplete(String message, float percentComplete)
reportTaskComplete in interface ExecuteGradleCommandServerProtocol.ExecutionInteractionpublic void reportLiveOutput(String message)
reportLiveOutput in interface ExecuteGradleCommandServerProtocol.ExecutionInteractionCopyright © 2013. All rights reserved