|
OpenShift Java Client 2.5.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.openshift.internal.client.AbstractOpenShiftResource
com.openshift.internal.client.GearGroupResource
public class GearGroupResource
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.openshift.internal.client.AbstractOpenShiftResource |
|---|
AbstractOpenShiftResource.Parameters, AbstractOpenShiftResource.ServiceRequest |
| Constructor Summary | |
|---|---|
protected |
GearGroupResource(GearGroupResourceDTO dto,
ApplicationResource application,
IRestService service)
Constructor. |
protected |
GearGroupResource(String uuid,
String name,
Collection<GearResourceDTO> gearDTOs,
Map<String,CartridgeResourceDTO> cartridgeDTOs,
ApplicationResource application,
IRestService service)
Constructor. |
| Method Summary | |
|---|---|
Collection<ICartridge> |
getCartridges()
Returns the cartridges in this gear group resource |
Collection<IGear> |
getGears()
Returns the gears in this gear group resource |
String |
getName()
Returns the name of this gear groups |
String |
getUUID()
Returns the uuid of this gear groups. |
void |
refresh()
Refresh the resource and its list of children resources that were previously loaded |
| Methods inherited from class com.openshift.internal.client.AbstractOpenShiftResource |
|---|
getCreationLog, getLink, getMessages, hasCreationLog, setLinks |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected GearGroupResource(String uuid,
String name,
Collection<GearResourceDTO> gearDTOs,
Map<String,CartridgeResourceDTO> cartridgeDTOs,
ApplicationResource application,
IRestService service)
uuid - the gear group's UUIDname - the gear group's namegearDTOs - the gear group's gearscartridgeDTOs - the gear group's cartridges, indexed by their nameapplication - the gear group's parent applicationservice - the underlying REST Service
protected GearGroupResource(GearGroupResourceDTO dto,
ApplicationResource application,
IRestService service)
dto - the associated GearGroupResourceDTOapplication - the parent applicationservicethe - underlying REST Service| Method Detail |
|---|
public final String getUUID()
IGearGroup
getUUID in interface IGearGrouppublic final String getName()
IGearGroup
getName in interface IGearGrouppublic Collection<IGear> getGears()
IGearGroup
getGears in interface IGearGrouppublic Collection<ICartridge> getCartridges()
IGearGroup
getCartridges in interface IGearGroup
public void refresh()
throws OpenShiftException
IOpenShiftResource
refresh in interface IOpenShiftResourceOpenShiftException
|
OpenShift Java Client 2.5.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||