Package net.xeoh.plugins.base.annotations.meta

Examples of net.xeoh.plugins.base.annotations.meta.Version


            if (author == null) break;
            rval.add(author.name());
            break;

        case VERSION:
            final Version version = plugin.getClass().getAnnotation(Version.class);
            if (version == null) break;
            rval.add(Integer.toString(version.version()));
           
            if(plugin == this.pluginManager) {
                final String build = $(PluginManagerImpl.class.getResourceAsStream("jspf.version")).text().split("\n").hashmap().get("build");
                rval.add("jspf.build:" + build);
            }
View Full Code Here


            if (author == null) break;
            rval.add(author.name());
            break;

        case VERSION:
            Version version = pluggable.getClass().getAnnotation(Version.class);
            if (version == null) break;
            rval.add(Integer.toString(version.version()));
            break;

        case CLASSPATH_ORIGIN:
            if (pluggable instanceof Plugin) {
                final PluginRegistry pluginRegistry = pmi.getPluginRegistry();
View Full Code Here

TOP

Related Classes of net.xeoh.plugins.base.annotations.meta.Version

Copyright © 2018 www.massapicom. 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.