Package org.gradle.launcher.daemon.protocol

Examples of org.gradle.launcher.daemon.protocol.Success


        Result result;
        Throwable commandException = execution.getException();
        if (commandException != null) {
            result = new CommandFailure(commandException);
        } else {
            result = new Success(execution.getResult());
        }

        LOGGER.debug("Daemon is dispatching the build result: {}", result);
        execution.getConnection().completed(result);
    }
View Full Code Here


    }

    public void executeCommand(DaemonConnection connection, Command command, DaemonContext daemonContext, DaemonStateControl daemonStateControl) {
        if (command instanceof Stop) {
            daemonStateControl.requestForcefulStop();
            connection.completed(new Success(null));
        } else if (command instanceof StopWhenIdle) {
            daemonStateControl.requestStop();
            connection.completed(new Success(null));
        } else {
            executer.executeCommand(connection, command, daemonContext, daemonStateControl);
        }
    }
View Full Code Here

TOP

Related Classes of org.gradle.launcher.daemon.protocol.Success

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.