Package com.openshift.internal.client.httpclient.request

Examples of com.openshift.internal.client.httpclient.request.StringParameter


      super(LINK_FORCE_STOP_APPLICATION);
    }

    protected <DTO> DTO execute() throws OpenShiftException {
      return super.execute(
          new StringParameter(IOpenShiftJsonConstants.PROPERTY_EVENT, IOpenShiftJsonConstants.VALUE_FORCESTOP));
    }
View Full Code Here


    private RestartApplicationRequest() {
      super(LINK_RESTART_APPLICATION);
    }

    protected <DTO> DTO execute() throws OpenShiftException {
      return super.execute(new StringParameter(IOpenShiftJsonConstants.PROPERTY_EVENT,
          IOpenShiftJsonConstants.VALUE_RESTART));
    }
View Full Code Here

    private ScaleUpRequest() {
      super(LINK_SCALE_UP);
    }

    protected <DTO> DTO execute() throws OpenShiftException {
      return super.execute(new StringParameter(IOpenShiftJsonConstants.PROPERTY_EVENT,
          IOpenShiftJsonConstants.VALUE_SCALE_UP));
    }
View Full Code Here

    private ScaleDownRequest() {
      super(LINK_SCALE_DOWN);
    }

    protected <DTO> DTO execute() throws OpenShiftException {
      return super.execute(new StringParameter(IOpenShiftJsonConstants.PROPERTY_EVENT,
          IOpenShiftJsonConstants.VALUE_SCALE_DOWN));
    }
View Full Code Here

      super(LINK_ADD_ALIAS);
    }

    protected <DTO> DTO execute(String alias) throws OpenShiftException {
      return super.execute(
          new StringParameter(IOpenShiftJsonConstants.PROPERTY_EVENT, IOpenShiftJsonConstants.VALUE_ADD_ALIAS),
          new StringParameter(IOpenShiftJsonConstants.PROPERTY_ALIAS, alias));
    }
View Full Code Here

      super(LINK_REMOVE_ALIAS);
    }

    protected <DTO> DTO execute(String alias) throws OpenShiftException {
      return super.execute(
          new StringParameter(IOpenShiftJsonConstants.PROPERTY_EVENT, IOpenShiftJsonConstants.VALUE_REMOVE_ALIAS),
          new StringParameter(IOpenShiftJsonConstants.PROPERTY_ALIAS, alias));
    }
View Full Code Here

    protected UpdateRequest() {
      super(LINK_UPDATE);
    }

    protected <DTO> DTO execute(String deploymentType) throws OpenShiftException {
      return super.execute(new StringParameter(IOpenShiftJsonConstants.PROPERTY_DEPLOYMENT_TYPE, deploymentType));
    }
View Full Code Here

    private AddDomainRequest() throws OpenShiftException {
      super("ADD_DOMAIN");
    }

    private DomainResourceDTO execute(String namespace) throws OpenShiftException {
      return execute(new StringParameter(IOpenShiftJsonConstants.PROPERTY_ID, namespace));
    }
View Full Code Here

TOP

Related Classes of com.openshift.internal.client.httpclient.request.StringParameter

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.