| 
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.cartridge.BaseCartridge
public abstract class BaseCartridge
A (base) cartridge for an OpenShift application.
EmbeddableCartridge, 
StandaloneCartridge| Field Summary | 
|---|
| Fields inherited from interface com.openshift.client.cartridge.ICartridge | 
|---|
NAME_VERSION_DELIMITER | 
| Constructor Summary | |
|---|---|
protected  | 
BaseCartridge(String name)
 | 
protected  | 
BaseCartridge(String name,
              String displayName,
              String description)
 | 
protected  | 
BaseCartridge(String name,
              URL url)
 | 
protected  | 
BaseCartridge(String name,
              URL url,
              String displayName,
              String description)
 | 
protected  | 
BaseCartridge(URL url)
 | 
| Method Summary | |
|---|---|
 boolean | 
equals(Object obj)
 | 
 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  | 
 URL | 
getUrl()
Returns the url at which the code for this cartridge may get downloaded.  | 
 int | 
hashCode()
 | 
 boolean | 
isDownloadable()
Returns true if this is a downloadable cartridge whose code
 may be downloaded at the url returned by ICartridge.getUrl() (cartridge
 code will get downloaded upon creation). | 
 String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
protected BaseCartridge(String name)
protected BaseCartridge(URL url)
protected BaseCartridge(String name,
                        URL url)
protected BaseCartridge(String name,
                        String displayName,
                        String description)
protected BaseCartridge(String name,
                        URL url,
                        String displayName,
                        String description)
| Method Detail | 
|---|
public String getName()
ICartridge
getName in interface ICartridgepublic String getDisplayName()
ICartridge
getDisplayName in interface ICartridgepublic String getDescription()
ICartridge
getDescription in interface ICartridgepublic boolean isDownloadable()
ICartridgetrue if this is a downloadable cartridge whose code
 may be downloaded at the url returned by ICartridge.getUrl() (cartridge
 code will get downloaded upon creation).
 Examples:
 
isDownloadable in interface ICartridgetrue if this is a downloadable cartridgeICartridge.getUrl()public URL getUrl()
ICartridgenull if this is not a downloadable cartridge.
- Specified by:
 getUrl in interface ICartridge
 
- Returns:
 - the url if downloadable cartridge or null
 - See Also:
 ICartridge.isDownloadable()
 
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
  | 
OpenShift Java Client 2.5.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||