public class EmbeddedCartridgeResource extends AbstractOpenShiftResource implements IEmbeddedCartridge
AbstractOpenShiftResource.ServiceRequest
Modifier and Type | Field and Description |
---|---|
protected static String |
CRON |
protected static String |
GEN_MMS_AGENT |
protected static String |
JENKINS_CLIENT |
protected static String |
METRICS |
protected static String |
MONGO |
protected static String |
MYSQL |
protected static String |
PHPMYADMIN |
protected static String |
POSTGRES |
protected static String |
ROCKMONGO |
NAME_10GEN_MMS_AGENT, NAME_HAPROXY, NAME_JENKINS_CLIENT, NAME_METRICS, NAME_MONGODB, NAME_MYSQL, NAME_PHPMYADMIN, NAME_POSTGRESQL, NAME_ROCKMONGO, NAME_VERSION_DELIMITER
Modifier | Constructor and Description |
---|---|
protected |
EmbeddedCartridgeResource(String info,
CartridgeResourceDTO dto,
ApplicationResource application) |
protected |
EmbeddedCartridgeResource(String name,
CartridgeType type,
String info,
Map<String,Link> links,
List<Message> creationLog,
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() |
String |
getName() |
protected CartridgeType |
getType() |
String |
getUrl() |
int |
hashCode() |
void |
refresh()
Refresh the resource and its list of children resources that were previously loaded
|
String |
toString() |
areLinksLoaded, getCreationLog, getLink, getService, hasCreationLog
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCreationLog, hasCreationLog
protected static final String JENKINS_CLIENT
protected static final String MYSQL
protected static final String PHPMYADMIN
protected static final String METRICS
protected static final String POSTGRES
protected static final String MONGO
protected static final String ROCKMONGO
protected static final String CRON
protected static final String GEN_MMS_AGENT
protected EmbeddedCartridgeResource(String info, CartridgeResourceDTO dto, ApplicationResource application)
protected EmbeddedCartridgeResource(String name, CartridgeType type, String info, Map<String,Link> links, List<Message> creationLog, ApplicationResource application)
public final String getName()
getName
in interface IEmbeddableCartridge
protected final CartridgeType getType()
public final IApplication getApplication()
public String getUrl() throws OpenShiftException
getUrl
in interface IEmbeddedCartridge
OpenShiftException
public void refresh() throws OpenShiftException
IOpenShiftResource
refresh
in interface IOpenShiftResource
OpenShiftException
public void destroy() throws OpenShiftException
IEmbeddedCartridge
destroy
in interface IEmbeddedCartridge
OpenShiftException
public boolean equals(Object obj)
EmbeddedCartridgeResource
may be
compared to EmbeddableCartridge
.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.