OpenShift Java Client 2.5.0.Final

com.openshift.client.cartridge
Interface IEmbeddedCartridge

All Superinterfaces:
ICartridge, IEmbeddableCartridge, IOpenShiftResource
All Known Implementing Classes:
EmbeddedCartridgeResource

public interface IEmbeddedCartridge
extends IOpenShiftResource, IEmbeddableCartridge

Interface to designate a cartridge that has been added and configured

Author:
André Dietisheim

Field Summary
 
Fields inherited from interface com.openshift.client.cartridge.IEmbeddableCartridge
NAME_10GEN_MMS_AGENT, NAME_CRON, NAME_HAPROXY, NAME_JENKINS_CLIENT, NAME_METRICS, NAME_MONGODB, NAME_MYSQL, NAME_PHPMYADMIN, NAME_POSTGRESQL, NAME_ROCKMONGO, NAME_SWITCHYARD
 
Fields inherited from interface com.openshift.client.cartridge.ICartridge
NAME_VERSION_DELIMITER
 
Method Summary
 void destroy()
          Destroys this cartridge (and removes it from the list of existing cartridges)
 IApplication getApplication()
          Returns the application this cartridge is embedded into.
 CartridgeResourceProperties getProperties()
          Returns the properties for this embedded cartridge
 URL getUrl()
          The url at which this cartridge may be reached
 
Methods inherited from interface com.openshift.client.IOpenShiftResource
getCreationLog, getMessages, hasCreationLog, refresh
 
Methods inherited from interface com.openshift.client.cartridge.ICartridge
getDescription, getDisplayName, getName, isDownloadable
 

Method Detail

getUrl

URL getUrl()
           throws OpenShiftException
The url at which this cartridge may be reached

Specified by:
getUrl in interface ICartridge
Returns:
the url for this cartridge
Throws:
OpenShiftException
See Also:
ICartridge.isDownloadable()

destroy

void destroy()
             throws OpenShiftException
Destroys this cartridge (and removes it from the list of existing cartridges)

Throws:
OpenShiftException

getApplication

IApplication getApplication()
Returns the application this cartridge is embedded into.

Returns:
application this is embedded into

getProperties

CartridgeResourceProperties getProperties()
Returns the properties for this embedded cartridge

Returns:
the resource properties

OpenShift Java Client 2.5.0.Final

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