Class PluginWrapper.Dependency

    • Method Detail

      • parse

        public static PluginWrapper.Dependency parse​(String depString)
        Parses information on a plugin dependency from the specified String. Specified in the format:
         plugin_short_name[:version][;additional_attribute]*
        
         plugin_short_name:
             the Short-Name of the plugin to depend on
        
         version:
             Optional soft constraint on the required version of the plugin dependency.
             Not used for now, but we may add soft version checks in the future.
             Worth specifying anyway as it can provide helpful information when diagnosing plugin incompatibility issues.
        
         additional_attribute:
             Optional additional attributes in the form of name=value separated by semicolons.
             Not used for now.
             This is to support future functionality like marking a dependency as optional.
         
        Parameters:
        depString - the dependency specifier String
        Returns:
        the Dependency
      • getShortName

        public String getShortName()
      • getVersion

        public String getVersion()