OpenShift Java Client 2.5.0.Final

com.openshift.internal.client.response
Class GearGroupResourceDTO

java.lang.Object
  extended by com.openshift.internal.client.response.BaseResourceDTO
      extended by com.openshift.internal.client.response.GearGroupResourceDTO

public class GearGroupResourceDTO
extends BaseResourceDTO

The DTO for a gear groups

Author:
Andre Dietisheim

Method Summary
 CartridgeResourceDTO getCartridge(String name)
          Returns the cartridge identified by the given name.
 Map<String,CartridgeResourceDTO> getCartridges()
          Returns the cartridges within this gear group.
 Collection<GearResourceDTO> getGears()
          Returns the gears within this gear group.
 String getName()
          Returns the name of this gear group
 String getUuid()
          Returns the uuid of this gear group.
 
Methods inherited from class com.openshift.internal.client.response.BaseResourceDTO
getLink, getLinks, getMessages
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public final String getName()
Returns the name of this gear group

Returns:
the name

getUuid

public final String getUuid()
Returns the uuid of this gear group.

Returns:
the uuid

getGears

public final Collection<GearResourceDTO> getGears()
Returns the gears within this gear group.

Returns:
the gears

getCartridges

public Map<String,CartridgeResourceDTO> getCartridges()
Returns the cartridges within this gear group.

Returns:
the cartridges

getCartridge

public CartridgeResourceDTO getCartridge(String name)
Returns the cartridge identified by the given name.

Returns:
the cartridge or null if none exists in this group

OpenShift Java Client 2.5.0.Final

Copyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.