public class ExamplesContribution extends LocalContribution
Contribution.Filter
DELETION_FLAG, RESTART_FLAG, UPDATE_FLAGGED
Modifier and Type | Method and Description |
---|---|
StringList |
getModeList() |
ContributionType |
getType() |
static boolean |
isCompatible(Base base,
File exampleFolder) |
static boolean |
isCompatible(Base base,
StringDict props) |
static boolean |
isCompatible(Mode mode,
StringDict props)
Function to determine whether or not the example present in the
exampleLocation directory is compatible with the current mode.
|
static ExamplesContribution |
load(File folder) |
static void |
loadMissing(Base base) |
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 ExamplesContribution load(File folder)
public static boolean isCompatible(Base base, StringDict props)
public static boolean isCompatible(Mode mode, StringDict props)
public static boolean isCompatible(Base base, File exampleFolder)
public static void loadMissing(Base base)
public ContributionType getType()
getType
in class Contribution
public StringList getModeList()