Interface SourceLanguageDataArchive
- All Superinterfaces:
ExtensionPoint
An
ExtensionPoint to dynamically support source language-specific data archives-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordProcessor-related attributes that form conditions for applying the given data archive contents to a program -
Method Summary
Modifier and TypeMethodDescriptionReturns theSourceLanguageIDof the source language thisSourceLanguageDataArchiveis compatible with.getDataArchiveRules(Program program, MessageLog log, TaskMonitor monitor) Returns the source language'sSourceLanguageDataArchive.DataArchiveRules.
-
Method Details
-
getCompatibleSourceLanguage
SourceLanguageID getCompatibleSourceLanguage()Returns theSourceLanguageIDof the source language thisSourceLanguageDataArchiveis compatible with.- Returns:
- the
SourceLanguageIDof the source language thisSourceLanguageDataArchiveis compatible with
-
getDataArchiveRules
List<SourceLanguageDataArchive.DataArchiveRule> getDataArchiveRules(Program program, MessageLog log, TaskMonitor monitor) Returns the source language'sSourceLanguageDataArchive.DataArchiveRules.- Parameters:
program- TheProgramlog- The error logmonitor- TheTaskMonitor- Returns:
- the source language's
SourceLanguageDataArchive.DataArchiveRules
-