trait HermesCore extends HermesConfig
Implements the core functionality to evaluate a set of feature queries against a set of projects; does not provide any UI. The GUI is implemented by the class Hermes and the command-line interface is implemented by the class HermesCLI.
- Alphabetic
- By Inheritance
- HermesCore
- HermesConfig
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
reportProgress(f: ⇒ Double): Unit
Called to report the progress.
Called to report the progress. If the double value is 1.0 the analyses has finished. Note that report progress is executed concurrently, but
fmust not be called concurrently and may need to be scheduled as part of the UI thread if the progress is visualized. -
abstract
def
updateProjectData(f: ⇒ Unit): Unit
Note that update project data is executed concurrently, but
fmust not be called concurrently and may need to be scheduled as part of the UI thread if the affected data is visualized.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
lazy val
Config: Config
The global configuration file.
The global configuration file.
- Definition Classes
- HermesConfig
-
final
lazy val
MaxLocations: Int
The number of locations per feature pre project that is stored.
The number of locations per feature pre project that is stored.
- Definition Classes
- HermesConfig
-
final
val
MaxLocationsKey: String
The config key of the number of locations per feature pre project that is stored.
The config key of the number of locations per feature pre project that is stored.
- Definition Classes
- HermesConfig
- val analysesFinished: BooleanProperty
-
def
analyzeCorpus(runAsDaemons: Boolean): Thread
Executes the queries for all projects.
Executes the queries for all projects. Basically, the queries are executed in parallel for each project.
- Note
This method is only intended to be called once!
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- val corpusAnalysisTime: LongProperty
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def exportLocations(writer: BufferedWriter, pf: ProjectFeatures[URL]): Unit
- def exportLocations(dir: Directory): Unit
- def exportMapping(writer: BufferedWriter): Unit
-
def
exportMapping(file: File): Unit
Exports the mapping between a feature query class and its feature queries.
Exports the mapping between a feature query class and its feature queries.
For the feature ids the following substitution scheme is used:
- \\ is replaced by \\\\
- new line ('\\n') is replaced by \\n
- , is replaced by \\,
- file
The file to which the mapping will be written.
- def exportStatistics(writer: BufferedWriter, exportProjectStatistics: Boolean): Unit
- def exportStatistics(file: File, exportProjectStatistics: Boolean = true): Unit
-
lazy val
featureIDs: List[(String, FeatureQuery)]
The list of unique features derived by enabled feature queries; one feature query may be referenced by multiple unique feature queries.
-
lazy val
featureMatrix: ObservableList[ProjectFeatures[URL]]
The matrix containing for each project the extensions of all features.
-
lazy val
featureQueries: List[FeatureQuery]
The list of enabled feature queries.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
initialize(configFile: File): Unit
Reads the initial, overall configuration.
Reads the initial, overall configuration. This method or setConfig has to be called before Hermes can be used.
- Definition Classes
- HermesConfig
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
lazy val
perFeatureCounts: Array[IntegerProperty]
Summary of the number of occurrences of a feature across all projects.
-
lazy val
projectConfigurations: List[ProjectConfiguration]
The set of all project configurations.
-
lazy val
registeredQueries: List[Query]
The list of all registered feature queries.
-
def
renderConfig: String
Textual representation of the configuration related to OPAL/Hermes.
Textual representation of the configuration related to OPAL/Hermes.
- Definition Classes
- HermesConfig
-
def
setConfig(config: Config): Unit
Sets the used configuration object.
Sets the used configuration object.
- Definition Classes
- HermesConfig
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated