|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.plugin.DownloadableInfo
public abstract class DownloadableInfo
Constructor Summary | |
---|---|
DownloadableInfo()
|
|
DownloadableInfo(String ID)
|
|
DownloadableInfo(String ID,
DownloadableInfo ParentObj)
|
Method Summary | |
---|---|
void |
addCytoscapeVersion(String cyVersion)
Contains a list of all the Cytoscape versions this object is compatible with. |
boolean |
equals(Object Obj)
Compare the two info objects. |
boolean |
equalsDifferentObjectVersion(Object Obj)
Compares the ID and download URL of the two objects. |
String |
getCategory()
|
String |
getCytoscapeVersion()
|
List<String> |
getCytoscapeVersions()
|
String |
getDescription()
|
String |
getDownloadableURL()
|
String |
getID()
|
abstract Installable |
getInstallable()
|
String |
getLicenseText()
|
String |
getName()
|
String |
getObjectUrl()
|
String |
getObjectVersion()
|
DownloadableInfo |
getParent()
|
String |
getReleaseDate()
|
abstract DownloadableType |
getType()
Return the downloadable type of this object. |
abstract String |
htmlOutput()
|
boolean |
isLicenseRequired()
|
boolean |
isNewerObjectVersion(DownloadableInfo New)
Compare the version of the object to the given object. |
boolean |
isPluginCompatibleWithCurrent()
|
void |
setCategory(Category cat)
|
void |
setCategory(String Category)
|
void |
setDescription(String description)
|
void |
setDownloadableURL(String url)
|
void |
setLicense(String licenseText,
boolean alwaysRequired)
Sets the license information for the plugin. |
void |
setLicense(URL url)
Sets the license information for the plugin. |
void |
setName(String name)
|
void |
setObjectUrl(String url)
|
void |
setObjectVersion(double objVersion)
|
void |
setParent(DownloadableInfo ParentObj)
|
void |
setReleaseDate(String date)
TODO - would probably be better to use a date object |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DownloadableInfo()
public DownloadableInfo(String ID)
public DownloadableInfo(String ID, DownloadableInfo ParentObj)
Method Detail |
---|
public void setLicense(URL url)
url
- object where license can be downloaded from.public void setLicense(String licenseText, boolean alwaysRequired)
licenseText
- string of license.alwaysRequired
- If the user expects the license to be required for both
install and update at all times (true) or only at install
(false)public void setCategory(String Category)
Category
- Sets the category of the downloadable object.public void setCategory(Category cat)
public void setParent(DownloadableInfo ParentObj)
public void setName(String name)
name
- Sets the name of the downloadable object.public void setDescription(String description)
description
- Sets the descriptoin of the downloadable object.public void setDownloadableURL(String url)
url
- Sets the URL for the xml file describing all downloadable
objects from any given project. (ex.
http://cytoscape.org/plugins/plugin.xml)public void setObjectUrl(String url)
url
- Set the URL where this object can be downloaded from.public void addCytoscapeVersion(String cyVersion) throws NumberFormatException
cyVersion
-
NumberFormatException
public void setObjectVersion(double objVersion) throws NumberFormatException
objVersion
- Sets the version of this object.
NumberFormatException
public void setReleaseDate(String date)
date
- Sets the release date of this object.public String getLicenseText()
public boolean isLicenseRequired()
public abstract Installable getInstallable()
public abstract DownloadableType getType()
public DownloadableInfo getParent()
public String getObjectUrl()
public String getCategory()
public String getDownloadableURL()
public String getObjectVersion()
public String getName()
public String getDescription()
public String getCytoscapeVersion()
public List<String> getCytoscapeVersions()
public String getReleaseDate()
public String getID()
public boolean isNewerObjectVersion(DownloadableInfo New)
New
- Potentially newer DownloadableInfo object
public boolean isPluginCompatibleWithCurrent()
public boolean equals(Object Obj)
equals
in class Object
public boolean equalsDifferentObjectVersion(Object Obj)
Obj
-
public String toString()
toString
in class Object
public abstract String htmlOutput()
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |