t

org.opalj.hermes

HermesCore

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.

Linear Supertypes
HermesConfig, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HermesCore
  2. HermesConfig
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. 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 f must not be called concurrently and may need to be scheduled as part of the UI thread if the progress is visualized.

  2. abstract def updateProjectData(f: ⇒ Unit): Unit

    Note that update project data is executed concurrently, but f must 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final lazy val Config: Config

    The global configuration file.

    The global configuration file.

    Definition Classes
    HermesConfig
  5. 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
  6. 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
  7. val analysesFinished: BooleanProperty
  8. 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!

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  11. val corpusAnalysisTime: LongProperty
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def exportLocations(writer: BufferedWriter, pf: ProjectFeatures[URL]): Unit
  15. def exportLocations(dir: Directory): Unit
  16. def exportMapping(writer: BufferedWriter): Unit
  17. 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.

  18. def exportStatistics(writer: BufferedWriter, exportProjectStatistics: Boolean): Unit
  19. def exportStatistics(file: File, exportProjectStatistics: Boolean = true): Unit
  20. 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.

  21. lazy val featureMatrix: ObservableList[ProjectFeatures[URL]]

    The matrix containing for each project the extensions of all features.

  22. lazy val featureQueries: List[FeatureQuery]

    The list of enabled feature queries.

  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  25. 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
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  30. lazy val perFeatureCounts: Array[IntegerProperty]

    Summary of the number of occurrences of a feature across all projects.

  31. lazy val projectConfigurations: List[ProjectConfiguration]

    The set of all project configurations.

  32. lazy val registeredQueries: List[Query]

    The list of all registered feature queries.

  33. def renderConfig: String

    Textual representation of the configuration related to OPAL/Hermes.

    Textual representation of the configuration related to OPAL/Hermes.

    Definition Classes
    HermesConfig
  34. def setConfig(config: Config): Unit

    Sets the used configuration object.

    Sets the used configuration object.

    Definition Classes
    HermesConfig
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from HermesConfig

Inherited from AnyRef

Inherited from Any

Ungrouped