Package ro.fortsoft.pf4j

Examples of ro.fortsoft.pf4j.PluginDescriptor


        headers = h;
      }
      Object[][] data = new Object[list.size()][];
      for (int i = 0; i < list.size(); i++) {
        PluginWrapper p = list.get(i);
        PluginDescriptor d = p.getDescriptor();
        if (verbose) {
          data[i] = new Object[] { "" + (i + 1), d.getPluginId(), d.getPluginDescription(), d.getVersion(), d.getRequires(), p.getPluginState(), p.getPluginPath() };
        } else {
          data[i] = new Object[] { "" + (i + 1), d.getPluginId(), d.getVersion(), p.getPluginState(), p.getPluginPath() };
        }
      }

      stdout.println(FlipTable.of(headers, data, Borders.BODY_HCOLS));
    }
View Full Code Here


    }

    @Override
    protected void asTabbed(List<PluginWrapper> list) {
      for (PluginWrapper pw : list) {
        PluginDescriptor d = pw.getDescriptor();
        if (verbose) {
          outTabbed(d.getPluginId(), d.getPluginDescription(), d.getVersion(), d.getRequires(), pw.getPluginState(), pw.getPluginPath());
        } else {
          outTabbed(d.getPluginId(), d.getVersion(), pw.getPluginState(), pw.getPluginPath());
        }
      }
    }
View Full Code Here

TOP

Related Classes of ro.fortsoft.pf4j.PluginDescriptor

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.