public abstract class AbstractRequest extends Object implements Request
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRequest.DummyExecutionInteraction
This is a dummy ExecutionInteraction.
|
ExecutionQueue.Request.Type| Modifier and Type | Field and Description |
|---|---|
protected ExecuteGradleCommandServerProtocol.ExecutionInteraction |
executionInteraction |
| Constructor and Description |
|---|
AbstractRequest(long requestID,
String fullCommandLine,
String displayName,
boolean forceOutputToBeShown,
ExecutionQueue executionQueue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancels this request.
|
boolean |
forceOutputToBeShown() |
String |
getDisplayName() |
String |
getFullCommandLine() |
long |
getRequestID() |
void |
setExecutionInteraction(ExecuteGradleCommandServerProtocol.ExecutionInteraction executionInteraction) |
void |
setProcessLauncherServer(ProcessLauncherServer server)
This is called internally to link the request with the server that is running the gradle process.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateServerProtocol, executeAgaingetTypeprotected ExecuteGradleCommandServerProtocol.ExecutionInteraction executionInteraction
public AbstractRequest(long requestID,
String fullCommandLine,
String displayName,
boolean forceOutputToBeShown,
ExecutionQueue executionQueue)
public long getRequestID()
getRequestID in interface Requestpublic String getFullCommandLine()
getFullCommandLine in interface Requestpublic String getDisplayName()
getDisplayName in interface Requestpublic boolean forceOutputToBeShown()
forceOutputToBeShown in interface Requestpublic boolean cancel()
public void setProcessLauncherServer(ProcessLauncherServer server)
RequestsetProcessLauncherServer in interface Requestserver - the server.public void setExecutionInteraction(ExecuteGradleCommandServerProtocol.ExecutionInteraction executionInteraction)
setExecutionInteraction in interface RequestCopyright © 2013. All rights reserved