Package org.apache.karaf.shell.support.table

Examples of org.apache.karaf.shell.support.table.ShellTable.column()


        if (fsl != null) {
            System.out.println("START LEVEL " + fsl.getStartLevel() + " , List Threshold: " + bundleLevelThreshold);
        }

        ShellTable table = new ShellTable();
        table.column("ID").alignRight();
        table.column("State");
        table.column("Lvl").alignRight();
        table.column("Version");
        table.column(getNameHeader());
       
View Full Code Here


            System.out.println("START LEVEL " + fsl.getStartLevel() + " , List Threshold: " + bundleLevelThreshold);
        }

        ShellTable table = new ShellTable();
        table.column("ID").alignRight();
        table.column("State");
        table.column("Lvl").alignRight();
        table.column("Version");
        table.column(getNameHeader());
       
        for (Bundle bundle : bundles) {
View Full Code Here

        }

        ShellTable table = new ShellTable();
        table.column("ID").alignRight();
        table.column("State");
        table.column("Lvl").alignRight();
        table.column("Version");
        table.column(getNameHeader());
       
        for (Bundle bundle : bundles) {
            BundleInfo info = this.bundleService.getInfo(bundle);
View Full Code Here

        ShellTable table = new ShellTable();
        table.column("ID").alignRight();
        table.column("State");
        table.column("Lvl").alignRight();
        table.column("Version");
        table.column(getNameHeader());
       
        for (Bundle bundle : bundles) {
            BundleInfo info = this.bundleService.getInfo(bundle);
            if (info.getStartLevel() >= bundleLevelThreshold) {
View Full Code Here

        ShellTable table = new ShellTable();
        table.column("ID").alignRight();
        table.column("State");
        table.column("Lvl").alignRight();
        table.column("Version");
        table.column(getNameHeader());
       
        for (Bundle bundle : bundles) {
            BundleInfo info = this.bundleService.getInfo(bundle);
            if (info.getStartLevel() >= bundleLevelThreshold) {
                String name = getNameToShow(info) + printFragments(info) + printHosts(info);
View Full Code Here

    @Override
    public Object execute() throws Exception {
        Map<String, Set<String>> requirements = featuresService.listRequirements();

        ShellTable table = new ShellTable();
        table.column("Region");
        table.column("Requirement");
        table.emptyTableText("No requirements defined");

        for (Map.Entry<String, Set<String>> entry : requirements.entrySet()) {
            for (String requirement : entry.getValue()) {
View Full Code Here

    public Object execute() throws Exception {
        Map<String, Set<String>> requirements = featuresService.listRequirements();

        ShellTable table = new ShellTable();
        table.column("Region");
        table.column("Requirement");
        table.emptyTableText("No requirements defined");

        for (Map.Entry<String, Set<String>> entry : requirements.entrySet()) {
            for (String requirement : entry.getValue()) {
                table.addRow().addContent(entry.getKey(), requirement);
View Full Code Here

        if (reload) {
            reloadAllRepos(featuresService);
        }
       
        ShellTable table = new ShellTable();
        table.column("Repository");
        table.column("URL");
        table.emptyTableText("No repositories available");

        Repository[] repos = featuresService.listRepositories();
       for (Repository repo : repos) {
View Full Code Here

            reloadAllRepos(featuresService);
        }
       
        ShellTable table = new ShellTable();
        table.column("Repository");
        table.column("URL");
        table.emptyTableText("No repositories available");

        Repository[] repos = featuresService.listRepositories();
       for (Repository repo : repos) {
            if (repo != null) {
View Full Code Here

    protected void doExecute(FeaturesService featuresService) throws Exception {
        boolean needsLegend = false;
       
        ShellTable table = new ShellTable();
        table.column("Name");
        table.column("Version");
        table.column("Required");
        table.column("Installed");
        table.column("Repository");
        table.column("Description").maxSize(50);
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.