Package com.heroku.api.request

Examples of com.heroku.api.request.RequestConfig


*/
public class DomainAdd implements Request<Domain> {
    private final RequestConfig config;

    public DomainAdd(String appName, String domainName) {
        this(new RequestConfig().app(appName).with(CreateDomain, domainName));
    }
View Full Code Here


    private RequestConfig config;


    public Run(String app, String command) {
        config = new RequestConfig().app(app).with(Heroku.RequestKey.Command, command);
    }
View Full Code Here

public class Restart implements Request<Unit> {

    private final RequestConfig config;

    public Restart(String appName) {
        this(new RequestConfig().app(appName));
    }
View Full Code Here

        }
    }

    public static class NamedProcessRestart extends Restart {
        public NamedProcessRestart(String appName, String processName) {
            super(new RequestConfig().app(appName).with(Heroku.RequestKey.ProcessName, processName));
        }
View Full Code Here

        }
    }

    public static class ProcessTypeRestart extends Restart {
        public ProcessTypeRestart(String appName, String processType) {
            super(new RequestConfig().app(appName).with(Heroku.RequestKey.ProcessType, processType));
        }
View Full Code Here

*/
public class DomainList implements Request<List<Domain>> {
    private final RequestConfig config;

    public DomainList(String appName) {
        this(new RequestConfig().app(appName));
    }
View Full Code Here

public class Scale implements Request<Unit> {

    private final RequestConfig config;

    public Scale(String appName, String processType, int quantity) {
        config = new RequestConfig().app(appName).with(Heroku.RequestKey.ProcessType, processType).with(Heroku.RequestKey.Quantity, String.valueOf(quantity));
    }
View Full Code Here

*/
public class DomainRemove implements Request<Unit> {
    private final RequestConfig config;

    public DomainRemove(String appName, String domainName) {
        this(new RequestConfig().app(appName).with(DeleteDomain, domainName));
    }
View Full Code Here

public class MaintenanceInfo implements Request<Boolean> {

    private final RequestConfig config;

    public MaintenanceInfo(String appName) {
        this.config = new RequestConfig().app(appName);
    }
View Full Code Here

public class ProcessList implements Request<List<Proc>> {

    private final RequestConfig config;

    public ProcessList(String appName) {
        config = new RequestConfig().app(appName);
    }
View Full Code Here

TOP

Related Classes of com.heroku.api.request.RequestConfig

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.