Package brooklyn.entity.basic.lifecycle

Examples of brooklyn.entity.basic.lifecycle.ScriptHelper.execute()


                .body.append(alternatives(
                        ifExecutableElse1("boot2docker", sudo("boot2docker status")),
                        ifExecutableElse1("service", sudo("service docker status"))))
                .failOnNonZeroResultCode()
                .gatherOutput();
        helper.execute();
        return helper.getResultStdout().contains("running");
    }

    @Override
    public void stop() {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.