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

      super("ADD_KEY");
    }

    protected KeyResourceDTO execute(SSHKeyType type, String name, String content) throws OpenShiftException {
      return super.execute(
          new StringParameter(IOpenShiftJsonConstants.PROPERTY_TYPE, type.getTypeId()),
          new StringParameter(IOpenShiftJsonConstants.PROPERTY_NAME, name),
          new StringParameter(IOpenShiftJsonConstants.PROPERTY_CONTENT, content));
    }
View Full Code Here

      super(LINK_START_APPLICATION);
    }

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

      super(LINK_STOP_APPLICATION);
    }

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

      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

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.