Examples of PluginDescription


Examples of honeycrm.client.misc.PluginDescription

    final ArrayList<PluginDescription> list = new ArrayList<PluginDescription>();
 
    for (final Entity plugin: db.prepare(new Query(PluginDescription.class.getSimpleName())).asIterable()) {
      final String name = String.valueOf(plugin.getProperty("name"));
      final String description = String.valueOf(plugin.getProperty("description"));
      list.add(new PluginDescription(name, description));
    }
   
    return list.toArray(new PluginDescription[0]);
  }
View Full Code Here

Examples of net.md_5.bungee.api.plugin.PluginDescription

            JarEntry pdf = jar.getJarEntry( "plugin.yml" );
            Preconditions.checkNotNull( pdf, "Plugin must have a plugin.yml" );

            try ( InputStream in = jar.getInputStream( pdf ) )
            {
                PluginDescription desc = new Yaml().loadAs( in, PluginDescription.class );
                return ModuleVersion.parse( desc.getVersion() );
            }
        } catch ( Exception ex )
        {
            ProxyServer.getInstance().getLogger().log( Level.WARNING, "Could not check module from file " + file, ex );
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.