|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcytoscape.plugin.PluginTracker
public class PluginTracker
Constructor Summary | |
---|---|
protected |
PluginTracker(File file)
|
protected |
PluginTracker(File Dir,
String FileName)
Used for testing |
Method Summary | |
---|---|
protected void |
addDownloadable(DownloadableInfo obj,
PluginStatus Status)
|
void |
clearCorruptedElements()
Clears the list of elements and sets the found flag to false. |
protected void |
delete()
Deletes the tracker file. |
protected List<DownloadableInfo> |
getDownloadableListByStatus(PluginStatus Status)
Get the list of all downloadable object by their status. |
protected org.jdom.Element |
getMatchingInfoObj(DownloadableInfo Obj,
PluginStatus Status)
Matches one of the following rule: 1. |
protected List<PluginInfo> |
getPluginListByStatus(PluginStatus Status)
Gets a list of plugins by their status. |
protected List<ThemeInfo> |
getThemeListByStatus(PluginStatus Status)
Gets a list of themes by their status. |
int |
getTotalCorruptedElements()
|
protected File |
getTrackerFile()
|
boolean |
hasCorruptedElements()
|
protected void |
removeDownloadable(DownloadableInfo obj,
PluginStatus Status)
Removes the given DownloadableInfo object from the list of plugins/themes sharing the given status. |
String |
toString()
|
protected void |
write()
Writes doc to file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected PluginTracker(File Dir, String FileName) throws IOException, TrackerException
FileName
- Xml file nameDir
- directory to to write xml file
IOException
TrackerException
protected PluginTracker(File file) throws IOException, TrackerException
IOException
TrackerException
Method Detail |
---|
protected File getTrackerFile()
protected List<PluginInfo> getPluginListByStatus(PluginStatus Status)
Status
-
protected List<DownloadableInfo> getDownloadableListByStatus(PluginStatus Status)
Status
-
protected List<ThemeInfo> getThemeListByStatus(PluginStatus Status)
Status
-
protected void addDownloadable(DownloadableInfo obj, PluginStatus Status)
protected void removeDownloadable(DownloadableInfo obj, PluginStatus Status)
obj
- Status
- protected org.jdom.Element getMatchingInfoObj(DownloadableInfo Obj, PluginStatus Status)
Obj
- Tag
-
protected void write()
public boolean hasCorruptedElements()
public int getTotalCorruptedElements()
public void clearCorruptedElements()
public String toString()
toString
in class Object
protected void delete()
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |