Package com.openshift.internal.client

Examples of com.openshift.internal.client.Gear


 
  private static Collection<IGear> createGears(ModelNode gearsNode) {
    List<IGear> gears = new ArrayList<IGear>();
    for (ModelNode gearNode : gearsNode.asList()) {
      gears.add(
          new Gear(
              getAsString(gearNode, PROPERTY_ID),
              GearState.safeValueOf(getAsString(gearNode, PROPERTY_GEAR_STATE))));
    }
    return gears;
  }
View Full Code Here

TOP

Related Classes of com.openshift.internal.client.Gear

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.