Package com.heroku.api.request

Examples of com.heroku.api.request.RequestConfig


*/
public class StackMigrate implements Request<String> {
    private final RequestConfig config;

    public StackMigrate(String appName, Heroku.Stack stack) {
        this.config = new RequestConfig().app(appName).onStack(stack);
    }
View Full Code Here


*/
public class AppRename implements Request<App> {
    private final RequestConfig config;

    public AppRename(String appName, String newName) {
        this.config = new RequestConfig().app(appName).with(Heroku.RequestKey.CreateAppName, newName);
    }
View Full Code Here

public class ConfigAdd implements Request<Unit> {

    private final RequestConfig config;

    public ConfigAdd(String appName, String jsonConfigVars) {
        this.config = new RequestConfig().app(appName).with(Heroku.RequestKey.ConfigVars, jsonConfigVars);
    }
View Full Code Here

public class ConfigList implements Request<Map<String, String>> {

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

public class ConfigRemove implements Request<Map<String, String>> {

    private final RequestConfig config;

    public ConfigRemove(String appName, String configVarName) {
        config = new RequestConfig().app(appName).with(Heroku.RequestKey.ConfigVarName, configVarName);
    }
View Full Code Here

public class Stop implements Request<Unit> {

    private final RequestConfig config;

    public Stop(String appName, Proc process) {
        config = new RequestConfig().app(appName).with(Heroku.RequestKey.ProcessName, process.getProcess());
    }
View Full Code Here

    public Stop(String appName, Proc process) {
        config = new RequestConfig().app(appName).with(Heroku.RequestKey.ProcessName, process.getProcess());
    }

    public Stop(String appName, String processType) {
        config = new RequestConfig().app(appName).with(Heroku.RequestKey.ProcessType, processType);
    }
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.