Package com.heroku.api.request.ps

Examples of com.heroku.api.request.ps.Restart$NamedProcessRestart


    /**
     * Restart an app.
     * @param appName See {@link #listApps} for a list of apps that can be used.
     */
    public void restart(String appName) {
        connection.execute(new Restart(appName), apiKey);
    }
View Full Code Here


        assertNotNull(response);
    }

    @Test(dataProvider = "app", retryAnalyzer = InternalServerErrorAnalyzer.class)
    public void testRestartCommand(App app) {
        Request<Unit> req = new Restart(app.getName());
        Unit response = connection.execute(req, apiKey);
        assertNotNull(response);
    }
View Full Code Here

TOP

Related Classes of com.heroku.api.request.ps.Restart$NamedProcessRestart

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.