public class TaskListServerProtocol extends AbstractGradleServerProtocol
| Modifier and Type | Class and Description |
|---|---|
static interface |
TaskListServerProtocol.ExecutionInteraction |
AbstractGradleServerProtocol.MyExecutionInfolastMessageReceived, server| Constructor and Description |
|---|
TaskListServerProtocol(File currentDirectory,
File gradleHomeDirectory,
File customGradleExecutor,
String fullCommandLine,
LogLevel logLevel,
ShowStacktrace stackTraceLevel,
TaskListServerProtocol.ExecutionInteraction executionInteraction) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addStatus(String status)
Notification of any status that might be helpful to the user.
|
File |
getInitScriptFile()
This is called before we execute a command.
|
protected boolean |
handleMessageReceived(MessageObject message)
Notification that a message was received that we didn't process.
|
protected void |
reportClientExit(boolean wasPremature,
int returnCode,
String output)
This is called when when the client exits.
|
aboutToKillProcess, clientCommunicationStopped, clientExited, closeConnection, connectionAccepted, continueConnection, extractInitScriptFile, extractResourceAsFile, getExecutionInfo, getGradleExecutableFile, getGradleHomeDirectory, handShakeCompleted, initialize, killGradle, messageReceived, readFailureOccurred, setHasReceivedBuildCompleteNotificationpublic TaskListServerProtocol(File currentDirectory, File gradleHomeDirectory, File customGradleExecutor, String fullCommandLine, LogLevel logLevel, ShowStacktrace stackTraceLevel, TaskListServerProtocol.ExecutionInteraction executionInteraction)
protected boolean handleMessageReceived(MessageObject message)
handleMessageReceived in class AbstractGradleServerProtocolmessage - the message we received.protected void reportClientExit(boolean wasPremature,
int returnCode,
String output)
reportClientExit in class AbstractGradleServerProtocolreturnCode - the return code of the applicationoutput - its total outputprotected void addStatus(String status)
addStatus in class AbstractGradleServerProtocolstatus - a status messagepublic File getInitScriptFile()
getInitScriptFile in class AbstractGradleServerProtocolCopyright © 2013. All rights reserved