|
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 cytoscape.plugin.PluginInfo
public class PluginInfo
Object describes a plugin
Nested Class Summary | |
---|---|
class |
PluginInfo.AuthorInfo
Describes an author for a given plugin. |
static class |
PluginInfo.FileType
Jar and Zip files currently supported |
Constructor Summary | |
---|---|
PluginInfo()
See DownloadableInfo.DownloadableInfo()
Initializes a PluginInfo object with the following defaults:
setName("Unknown"); setDescription("No description");
setObjectVersion("0.1"); setCytoscapeVersion(
cytoscape.cytoscapeVersion.version ); setCategory("Uncategorized"); |
|
PluginInfo(String UniqueID)
See DownloadableInfo.DownloadableInfo(String) |
|
PluginInfo(String UniqueID,
DownloadableInfo ParentObj)
See DownloadableInfo.DownloadableInfo(String) |
|
PluginInfo(String UniqueID,
String Name)
|
Method Summary | |
---|---|
void |
addAuthor(String authorName,
String institution)
Adds an author to the list of authors. |
void |
clearAuthorList()
Clears author list. |
List<PluginInfo.AuthorInfo> |
getAuthors()
|
String |
getDownloadUrl()
Deprecated. See DownloadableInfo.getDownloadableURL() } will be removed June 2008 |
List<String> |
getFileList()
|
PluginInfo.FileType |
getFileType()
|
Installable |
getInstallable()
|
String |
getInstallLocation()
|
String |
getLicenseText()
Deprecated. See DownloadableInfo.getLicenseText() will be removed June 2008 |
String |
getPluginClassName()
|
File |
getPluginDirectory()
Gets the full install path for this plugin. |
String |
getPluginVersion()
Deprecated. See DownloadableInfo.getObjectVersion() will be removed June 2008 |
String |
getProjectUrl()
|
DownloadableType |
getType()
DownloadableInfo.getType() |
String |
getUrl()
Deprecated. See DownloadableInfo.getObjectUrl() } will be removed June 2008 |
String |
htmlOutput()
|
boolean |
isLicenseRequired()
Deprecated. See DownloadableInfo.isLicenseRequired() will be removed June 2008 |
boolean |
isNewerPluginVersion(PluginInfo New)
Deprecated. See DownloadableInfo.isNewerObjectVersion(DownloadableInfo) } will be removed June 2008
Compare the version of the object to the given object. |
void |
setLicense(String licenseText,
boolean alwaysRequired)
Deprecated. See DownloadableInfo.setLicense(String, boolean) will be removed June 2008
Sets the license information for the plugin. Not required. |
void |
setLicense(URL url)
Deprecated. See DownloadableInfo#setLicense(String) will be removed June 2008
Sets the license information for the plugin. Not required. |
void |
setPluginClassName(String className)
Sets the plugin class name. |
void |
setPluginVersion(double Version)
Deprecated. See DownloadableInfo.setObjectVersion(double) } will be removed June 2008
Sets the version of the plugin. Defaults to 0.1 |
void |
setProjectUrl(String url)
Sets the url of a site describing this plugin project |
Methods inherited from class cytoscape.plugin.DownloadableInfo |
---|
addCytoscapeVersion, equals, equalsDifferentObjectVersion, getCategory, getCytoscapeVersion, getCytoscapeVersions, getDescription, getDownloadableURL, getID, getName, getObjectUrl, getObjectVersion, getParent, getReleaseDate, isNewerObjectVersion, isPluginCompatibleWithCurrent, setCategory, setCategory, setDescription, setDownloadableURL, setName, setObjectUrl, setObjectVersion, setParent, setReleaseDate, toString |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PluginInfo()
DownloadableInfo.DownloadableInfo()
Initializes a PluginInfo object with the following defaults:
setName("Unknown"); setDescription("No description");
setObjectVersion("0.1"); setCytoscapeVersion(
cytoscape.cytoscapeVersion.version ); setCategory("Uncategorized");
public PluginInfo(String UniqueID)
DownloadableInfo.DownloadableInfo(String)
UniqueID
- Additionally this sets the unique identifier that will be used
to find a new version of the plugin at the given download url.public PluginInfo(String UniqueID, String Name)
public PluginInfo(String UniqueID, DownloadableInfo ParentObj)
DownloadableInfo.DownloadableInfo(String)
UniqueID
- ParentObj
- Additionally this sets the unique identifier that will be used
to find a new version of the plugin at the given download url and
sets the parent downloadable object.Method Detail |
---|
public void setPluginClassName(String className)
className
- public void setPluginVersion(double Version) throws NumberFormatException
DownloadableInfo.setObjectVersion(double)
} will be removed June 2008
Sets the version of the plugin. Defaults to 0.1
version
- String version with format \d+.\d+
NumberFormatException
- If the string version is of a format other than \d+.\d+public void setProjectUrl(String url)
url
- public void addAuthor(String authorName, String institution)
authorName
- institution
- public void clearAuthorList()
public void setLicense(URL url)
DownloadableInfo#setLicense(String)
will be removed June 2008
Sets the license information for the plugin. Not required.
DownloadableInfo
setLicense
in class DownloadableInfo
java.net.URL
- object where license can be downloaded from.public void setLicense(String licenseText, boolean alwaysRequired)
DownloadableInfo.setLicense(String, boolean)
will be removed June 2008
Sets the license information for the plugin. Not required.
DownloadableInfo
setLicense
in class DownloadableInfo
Text
- 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 File getPluginDirectory()
public String getInstallLocation()
public String getLicenseText()
DownloadableInfo.getLicenseText()
will be removed June 2008
getLicenseText
in class DownloadableInfo
public boolean isLicenseRequired()
DownloadableInfo.isLicenseRequired()
will be removed June 2008
isLicenseRequired
in class DownloadableInfo
public PluginInfo.FileType getFileType()
public String getPluginClassName()
public List<PluginInfo.AuthorInfo> getAuthors()
public String getPluginVersion()
DownloadableInfo.getObjectVersion()
will be removed June 2008
public String getUrl()
DownloadableInfo.getObjectUrl()
} will be removed June 2008
public String getProjectUrl()
public String getDownloadUrl()
DownloadableInfo.getDownloadableURL()
} will be removed June 2008
public Installable getInstallable()
getInstallable
in class DownloadableInfo
public DownloadableType getType()
DownloadableInfo.getType()
getType
in class DownloadableInfo
public List<String> getFileList()
public boolean isNewerPluginVersion(PluginInfo New)
DownloadableInfo.isNewerObjectVersion(DownloadableInfo)
} will be removed June 2008
Compare the version of the object to the given object.
New
- Potentially newer PluginInfo object
public String htmlOutput()
htmlOutput
in class DownloadableInfo
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |