public class ToolContribution extends LocalContribution implements Tool, Comparable<ToolContribution>
Contribution.FilterDELETION_FLAG, RESTART_FLAG, UPDATE_FLAGGED| Modifier and Type | Method and Description |
|---|---|
void |
clearClassLoader()
Method to close the ClassLoader so that the archives are no longer
"locked" and a tool can be removed without restart.
|
int |
compareTo(ToolContribution o) |
String |
getMenuTitle() |
File |
getReferenceIndexFile()
Returns the object stored in the referenceFile field, which contains an
instance of the file object representing the index file of the reference
|
ContributionType |
getType() |
boolean |
hasReference()
Tests whether the reference's index file indicated by referenceFile exists.
|
void |
init(Base base) |
static ToolContribution |
load(File folder) |
static List<ToolContribution> |
loadAll(File toolsFolder) |
void |
run() |
getFolder, getId, getImports, getLatestVersion, initLoader, isInstalledequals, getAuthorList, getBenignVersion, getLastUpdated, getMaxRevision, getMinRevision, getName, getParagraph, getPrettyVersion, getSentence, getTypeName, getUrl, getVersion, hashCode, isCompatible, isFoundation, loadProperties, loadProperties, setPrettyVersionpublic static ToolContribution load(File folder)
public void clearClassLoader()
public static List<ToolContribution> loadAll(File toolsFolder)
public String getMenuTitle()
getMenuTitle in interface Toolpublic ContributionType getType()
getType in class Contributionpublic File getReferenceIndexFile()
public boolean hasReference()
public int compareTo(ToolContribution o)
compareTo in interface Comparable<ToolContribution>