public class LegacyDaemon extends AbstractDaemonFixture
context, STATE_CHANGE_TIMEOUT| Constructor and Description |
|---|
LegacyDaemon(java.io.File daemonLog,
java.lang.String version) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertHasState(org.gradle.launcher.daemon.server.api.DaemonStateControl.State state) |
void |
assertRegistryNotWorldReadable() |
void |
changeTokenVisibleToClient()
Changes the authentication token for this daemon in the registry, so that client will see a different token to that expected by this daemon
|
java.lang.String |
getLog()
Returns the log for this daemon.
|
java.io.File |
getLogFile()
Returns the log file for this daemon.
|
int |
getPort()
Returns the TCP port used by this daemon.
|
protected void |
waitForState(org.gradle.launcher.daemon.server.api.DaemonStateControl.State state) |
assertBusy, assertCanceled, assertIdle, assertStopped, becomesCanceled, becomesIdle, getContext, kill, killDaemonOnly, logContains, logContains, stops, toStringpublic LegacyDaemon(java.io.File daemonLog,
java.lang.String version)
protected void waitForState(org.gradle.launcher.daemon.server.api.DaemonStateControl.State state)
throws java.lang.InterruptedException
waitForState in class AbstractDaemonFixturejava.lang.InterruptedExceptionprotected void assertHasState(org.gradle.launcher.daemon.server.api.DaemonStateControl.State state)
assertHasState in class AbstractDaemonFixturepublic java.lang.String getLog()
DaemonFixturepublic java.io.File getLogFile()
DaemonFixturepublic void changeTokenVisibleToClient()
DaemonFixturepublic void assertRegistryNotWorldReadable()
public int getPort()
DaemonFixture