public abstract class BaseCartridge extends Object implements ICartridge
EmbeddableCartridge,
StandaloneCartridgeNAME_VERSION_DELIMITER| Modifier | Constructor and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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() |
protected BaseCartridge(String name)
protected BaseCartridge(URL url)
public String getName()
ICartridgegetName in interface ICartridgepublic String getDisplayName()
ICartridgegetDisplayName in interface ICartridgepublic String getDescription()
ICartridgegetDescription 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.getUrl in interface ICartridgeICartridge.isDownloadable()Copyright © 2013 JBoss by Red Hat. All rights reserved.