public class ToolContribution extends LocalContribution implements Tool, Comparable<ToolContribution>
Contribution.Filter
DELETION_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, isInstalled
equals, getAuthorList, getBenignVersion, getLastUpdated, getMaxRevision, getMinRevision, getName, getParagraph, getPrettyVersion, getSentence, getTypeName, getUrl, getVersion, hashCode, isCompatible, isFoundation, loadProperties, loadProperties, setPrettyVersion
public static ToolContribution load(File folder)
public void clearClassLoader()
public static List<ToolContribution> loadAll(File toolsFolder)
public String getMenuTitle()
getMenuTitle
in interface Tool
public ContributionType getType()
getType
in class Contribution
public File getReferenceIndexFile()
public boolean hasReference()
public int compareTo(ToolContribution o)
compareTo
in interface Comparable<ToolContribution>