public class GradleRunnerInteractionWrapper extends java.lang.Object implements ExecuteGradleCommandServerProtocol.ExecutionInteraction
| Constructor and Description |
|---|
GradleRunnerInteractionWrapper(GradleRunnerInteractionVersion1 interactionVersion1) |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getCustomGradleExecutable() |
LogLevel |
getLogLevel() |
ShowStacktrace |
getStackTraceLevel() |
void |
reportExecutionFinished(boolean wasSuccessful,
java.lang.String message,
java.lang.Throwable throwable)
Notification that execution has finished.
|
void |
reportExecutionStarted()
Notification that overall execution has been started.
|
void |
reportLiveOutput(java.lang.String output)
Report real-time output from gradle and its subsystems (such as ant).
|
void |
reportNumberOfTasksToExecute(int size)
Notification of the total number of tasks that will be executed.
|
void |
reportTaskComplete(java.lang.String currentTaskName,
float percentComplete) |
void |
reportTaskStarted(java.lang.String currentTaskName,
float percentComplete)
Notification that a single task has completed.
|
public GradleRunnerInteractionWrapper(GradleRunnerInteractionVersion1 interactionVersion1)
public LogLevel getLogLevel()
public ShowStacktrace getStackTraceLevel()
public void reportExecutionStarted()
reportExecutionStarted in interface ExecuteGradleCommandServerProtocol.ExecutionInteractionpublic void reportNumberOfTasksToExecute(int size)
reportNumberOfTasksToExecute in interface ExecuteGradleCommandServerProtocol.ExecutionInteractionsize - the total number of tasks.public void reportTaskStarted(java.lang.String currentTaskName,
float percentComplete)
reportTaskStarted in interface ExecuteGradleCommandServerProtocol.ExecutionInteractioncurrentTaskName - the task being executedpercentComplete - the percent complete of all the tasks that make up the task you requested.public void reportTaskComplete(java.lang.String currentTaskName,
float percentComplete)
reportTaskComplete in interface ExecuteGradleCommandServerProtocol.ExecutionInteractionpublic void reportLiveOutput(java.lang.String output)
reportLiveOutput in interface ExecuteGradleCommandServerProtocol.ExecutionInteractionoutput - a single line of text to show.public void reportExecutionFinished(boolean wasSuccessful,
java.lang.String message,
java.lang.Throwable throwable)
ExecuteGradleCommandServerProtocol.ExecutionInteractionreportExecutionFinished 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 java.io.File getCustomGradleExecutable()
Copyright © 2013. All rights reserved