Package com.openshift.client.cartridge

Examples of com.openshift.client.cartridge.IEmbeddedCartridge.destroy()


  public void removeEmbeddedCartridge(IEmbeddableCartridge cartridge) throws OpenShiftException {
    Assert.notNull(cartridge);

    IEmbeddedCartridge embeddedCartridge = getEmbeddedCartridge(cartridge);
    if (embeddedCartridge != null) {
      embeddedCartridge.destroy();
    }
  }

  public void removeEmbeddedCartridges(Collection<IEmbeddableCartridge> cartridges) throws OpenShiftException {
    Assert.notNull(cartridges);
View Full Code Here


  public void removeEmbeddedCartridge(IEmbeddableCartridge cartridge) throws OpenShiftException {
    Assert.notNull(cartridge);

    IEmbeddedCartridge embeddedCartridge = getEmbeddedCartridge(cartridge);
    if (embeddedCartridge != null) {
      embeddedCartridge.destroy();
    }
  }

  public void removeEmbeddedCartridges(Collection<IEmbeddableCartridge> cartridges) throws OpenShiftException {
    Assert.notNull(cartridges);
View Full Code Here

  public void removeEmbeddedCartridge(IEmbeddableCartridge cartridge) throws OpenShiftException {
    Assert.notNull(cartridge);

    IEmbeddedCartridge embeddedCartridge = getEmbeddedCartridge(cartridge);
    if (embeddedCartridge != null) {
      embeddedCartridge.destroy();
    }
  }

  public void removeEmbeddedCartridges(Collection<IEmbeddableCartridge> cartridges) throws OpenShiftException {
    Assert.notNull(cartridges);
View Full Code Here

  public void removeEmbeddedCartridge(IEmbeddableCartridge cartridge) throws OpenShiftException {
    Assert.notNull(cartridge);

    IEmbeddedCartridge embeddedCartridge = getEmbeddedCartridge(cartridge);
    if (embeddedCartridge != null) {
      embeddedCartridge.destroy();
    }
  }

  public void removeEmbeddedCartridges(Collection<IEmbeddableCartridge> cartridges) throws OpenShiftException {
    Assert.notNull(cartridges);
View Full Code Here

    assertThat(application.getEmbeddedCartridges()).hasSize(2);

    // operation
    final IEmbeddedCartridge mysql = application.getEmbeddedCartridge("mysql-5.1");
    try {
      mysql.destroy();
      fail("Expected an exception here..");
    } catch (OpenShiftTimeoutException e) {
      // ok
    }
View Full Code Here

  public void removeEmbeddedCartridge(IEmbeddableCartridge cartridge) throws OpenShiftException {
    Assert.notNull(cartridge);

    IEmbeddedCartridge embeddedCartridge = getEmbeddedCartridge(cartridge);
    if (embeddedCartridge != null) {
      embeddedCartridge.destroy();
    }
  }

  public void removeEmbeddedCartridges(Collection<IEmbeddableCartridge> cartridges) throws OpenShiftException {
    Assert.notNull(cartridges);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.