Class PluginMeta


  • public class PluginMeta
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PluginMeta()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,​java.lang.String> getPluginsMeta()  
      static java.lang.String getPluginVersion​(java.lang.String pluginName)
      Returns a version for the given plugin name.
      static void preloadMeta()
      Pre-loads name and version from plugins to make them available (with getPluginVersion()) if needed before complete loading by init().
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PluginMeta

        public PluginMeta()
    • Method Detail

      • preloadMeta

        public static void preloadMeta()
                                throws fr.paris.lutece.portal.service.init.LuteceInitException
        Pre-loads name and version from plugins to make them available (with getPluginVersion()) if needed before complete loading by init().
        Throws:
        fr.paris.lutece.portal.service.init.LuteceInitException
      • getPluginVersion

        public static java.lang.String getPluginVersion​(java.lang.String pluginName)
        Returns a version for the given plugin name.
        Parameters:
        pluginName - plugin name to look up
        Returns:
        a version or null if not found
      • getPluginsMeta

        public static java.util.Map<java.lang.String,​java.lang.String> getPluginsMeta()