public class EmbeddedCartridgeResource extends AbstractOpenShiftResource implements IEmbeddedCartridge
AbstractOpenShiftResource.ServiceRequestNAME_10GEN_MMS_AGENT, NAME_HAPROXY, NAME_JENKINS_CLIENT, NAME_METRICS, NAME_MONGODB, NAME_MYSQL, NAME_PHPMYADMIN, NAME_POSTGRESQL, NAME_ROCKMONGONAME_VERSION_DELIMITER| Modifier | Constructor and Description |
|---|---|
protected |
EmbeddedCartridgeResource(String info,
CartridgeResourceDTO dto,
ApplicationResource application) |
protected |
EmbeddedCartridgeResource(String name,
String displayName,
String description,
CartridgeType type,
String info,
Map<String,Link> links,
Messages messages,
ApplicationResource application) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroys this cartridge (and removes it from the list of existing cartridges)
|
boolean |
equals(Object obj)
TODO: implement fully correct #equals and #hashcode.
|
IApplication |
getApplication()
Returns the application this cartridge is embedded into.
|
String |
getDescription()
Returns a description for this cartridge
|
String |
getDisplayName()
Returns a (human readable, nice) display name for this cartridge
|
String |
getName()
Returns the name of this cartridge
|
protected CartridgeType |
getType() |
String |
getUrl()
The url at which this cartridge may be reached
|
int |
hashCode() |
void |
refresh()
Refresh the resource and its list of children resources that were
previously loaded
|
String |
toString() |
areLinksLoaded, getCreationLog, getLink, getMessages, getService, hasCreationLogclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCreationLog, getMessages, hasCreationLogprotected EmbeddedCartridgeResource(String info, CartridgeResourceDTO dto, ApplicationResource application)
protected EmbeddedCartridgeResource(String name, String displayName, String description, CartridgeType type, String info, Map<String,Link> links, Messages messages, ApplicationResource application)
public String getName()
ICartridgegetName in interface ICartridgepublic String getDisplayName()
ICartridgegetDisplayName in interface ICartridgepublic String getDescription()
ICartridgegetDescription in interface ICartridgeprotected CartridgeType getType()
public IApplication getApplication()
IEmbeddedCartridgegetApplication in interface IEmbeddedCartridgepublic String getUrl() throws OpenShiftException
IEmbeddedCartridgegetUrl in interface IEmbeddedCartridgeOpenShiftExceptionpublic void refresh()
throws OpenShiftException
IOpenShiftResourcerefresh in interface IOpenShiftResourceOpenShiftExceptionpublic void destroy()
throws OpenShiftException
IEmbeddedCartridgedestroy in interface IEmbeddedCartridgeOpenShiftExceptionpublic boolean equals(Object obj)
EmbeddedCartridgeResource may be
compared to EmbeddableCartridge.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.