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 Detail

      • 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.
      • getPluginName

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

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