|
Cytoscape 2.8.0 API | |||||||||
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 |
Nested classes/interfaces inherited from class cytoscape.plugin.DownloadableInfo |
---|
DownloadableInfo.License |
Field Summary | |
---|---|
protected String |
enclosingJar
|
protected String |
installLocation
|
Fields inherited from class cytoscape.plugin.DownloadableInfo |
---|
versionMatch, versionSplit |
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. |
protected void |
addFileName(String fileName)
Adds a file to the list of installed files. |
void |
clearAuthorList()
Clears author list. |
List<PluginInfo.AuthorInfo> |
getAuthors()
|
List<String> |
getFileList()
|
PluginInfo.FileType |
getFileType()
|
Installable |
getInstallable()
|
String |
getInstallLocation()
|
String |
getPluginClassName()
|
File |
getPluginDirectory()
Gets the full install path for this plugin. |
String |
getProjectUrl()
|
DownloadableType |
getType()
DownloadableInfo.getType() |
String |
htmlOutput()
|
protected void |
setFileList(List<String> list)
Sets a list of files (prefer full paths) installed with this plugin. |
protected void |
setFiletype(PluginInfo.FileType type)
Jar or Zip are currently supported. |
protected void |
setInstallLocation(String Loc)
This is meant to only get set by the PluginManager. |
void |
setPluginClassName(String className)
Sets the plugin class name. |
void |
setProjectUrl(String url)
Sets the url of a site describing this plugin project |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String enclosingJar
protected String installLocation
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 setProjectUrl(String url)
url
- protected void setFiletype(PluginInfo.FileType type)
type
- protected void setFileList(List<String> list)
list
- protected void addFileName(String fileName)
fileName
- public void addAuthor(String authorName, String institution)
authorName
- institution
- public void clearAuthorList()
protected void setInstallLocation(String Loc)
Loc
- public File getPluginDirectory()
public String getInstallLocation()
public PluginInfo.FileType getFileType()
public String getPluginClassName()
public List<PluginInfo.AuthorInfo> getAuthors()
public String getProjectUrl()
public Installable getInstallable()
getInstallable
in class DownloadableInfo
public DownloadableType getType()
DownloadableInfo.getType()
getType
in class DownloadableInfo
public List<String> getFileList()
public String htmlOutput()
htmlOutput
in class DownloadableInfo
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |