Examples of IGearGroup


Examples of com.openshift.client.IGearGroup

    // precondition
    IDeployedStandaloneCartridge cartridge = springeap6Application.getCartridge();
    assertThat(cartridge).isNotNull();

    // operation
    IGearGroup gearGroup = cartridge.getGearGroup();

    // verification
    assertThat(gearGroup).isNotNull();
    assertThat(gearGroup.getCartridges()).contains(cartridge);
  }
View Full Code Here

Examples of com.openshift.client.IGearGroup

    // precondition
    IDeployedStandaloneCartridge cartridge = application.getCartridge();
    assertThat(cartridge).isNotNull();

    // operation
    IGearGroup gearGroup = cartridge.getGearGroup();

    // verification
    assertThat(gearGroup).isNotNull();
    assertThat(gearGroup.getCartridges()).contains(cartridge);
  }
View Full Code Here

Examples of com.openshift.client.IGearGroup

        new Parameter(IOpenShiftJsonConstants.PROPERTY_ADDITIONAL_GEAR_STORAGE, String.valueOf(size)));
  }

  @Override
  public int getAdditionalGearStorage() {
    IGearGroup gearGroup = getGearGroup();
    if (gearGroup == null) {
      return IGearGroup.NO_ADDITIONAL_GEAR_STORAGE;
    }
    return gearGroup.getAdditionalStorage();

  }
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.