Interface ResourceDependentPlugin


@OpenApiAll public interface ResourceDependentPlugin
This interface is for plugins, which have profile dependencies in project. The method #isRequiredPlugin is invoked on every project save. If plugin is required for project, it should return True. In XMI plugin name and version is saved to provide info which plugin version is required for project on load.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns name of plugin
    Returns version of plugin
    default boolean
    isPluginRequired(com.nomagic.ci.persistence.IProject project)
    Given a project, returns true if this project requires this plugin.
    boolean
    Given a project, returns true if this project requires this plugin.
  • Method Details

    • isPluginRequired

      boolean isPluginRequired(Project project)
      Given a project, returns true if this project requires this plugin.
      Parameters:
      project - to be evaluated.
      Returns:
      true if given project requires plugin.
    • isPluginRequired

      default boolean isPluginRequired(com.nomagic.ci.persistence.IProject project)
      Given a project, returns true if this project requires this plugin.
      Parameters:
      project - to be evaluated.
      Returns:
      true if given project requires plugin.
    • getPluginName

      String getPluginName()
      Returns name of plugin
      Returns:
      name of plugin.
    • getPluginVersion

      String getPluginVersion()
      Returns version of plugin
      Returns:
      plugin version.