Interface IProjectContext

All Known Subinterfaces:
IAnalysisController
All Known Implementing Classes:
AnalysisController

@Deprecated
public interface IProjectContext
Deprecated.
since 1.15.1
This is the interface which allows the analysis components a slimmed-down access to an instance of the AnalysisController. The methods in this interface should not allow any modifications.
Since:
1.7
Author:
Nils Christian Ehmke
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String CONFIG_PROPERTY_NAME_PROJECT_NAME
    Deprecated.
    This is the name of the property containing the project name.
    static java.lang.String CONFIG_PROPERTY_NAME_RECORDS_TIME_UNIT
    Deprecated.
    This is the name of the property containing the time unit for the monitoring records.
  • Method Summary

    Modifier and Type Method Description
    MIProject getCurrentConfiguration()
    Deprecated.
    This method delivers the current configuration of this instance as an instance of MIProject.
    java.lang.String getProjectName()
    Deprecated.
    Delivers the current name of the project.
    java.lang.String getProperty​(java.lang.String key)
    Deprecated.
    Delivers the value for the given (global) property within the analysis.
    AnalysisController.STATE getState()
    Deprecated.
    Delivers the current state of the analysis controller.
  • Field Details

  • Method Details

    • getProperty

      java.lang.String getProperty​(java.lang.String key)
      Deprecated.
      Delivers the value for the given (global) property within the analysis.
      Parameters:
      key - The key of the property.
      Returns:
      The value for the given property if it exists, an empty string otherwise.
      Since:
      1.7
    • getCurrentConfiguration

      MIProject getCurrentConfiguration() throws AnalysisConfigurationException
      Deprecated.
      This method delivers the current configuration of this instance as an instance of MIProject.
      Returns:
      A filled meta model instance.
      Throws:
      AnalysisConfigurationException - If the current configuration is somehow invalid.
      Since:
      1.7
    • getProjectName

      java.lang.String getProjectName()
      Deprecated.
      Delivers the current name of the project.
      Returns:
      The current project name.
      Since:
      1.7
    • getState

      Deprecated.
      Delivers the current state of the analysis controller.
      Returns:
      The current state.
      Since:
      1.7