Package org.springframework.xd.shell.util

Examples of org.springframework.xd.shell.util.TableRow


              3, new TableHeader("Default")).addHeader(4, new TableHeader("Type"));
      for (DetailedModuleDefinitionResource.Option o : options) {
        if (!showHidden && o.isHidden()) {
          continue;
        }
        final TableRow row = new TableRow();
        row.addValue(1, o.getName())
            .addValue(2, o.getDescription())
            .addValue(3, o.getDefaultValue() == null ? "<none>" : o.getDefaultValue())
            .addValue(4, o.getType() == null ? "<unknown>" : o.getType());
        table.getRows().add(row);
      }
View Full Code Here


  @Override
  public boolean matches(Object item) {
    AbstractMetricSink metric = (AbstractMetricSink) item;
    Table table = (Table) metric.shell.executeCommand(metric.getDslName() + " list").getResult();
    return table.getRows().contains(new TableRow().addValue(1, metric.getName()));
  }
View Full Code Here

TOP

Related Classes of org.springframework.xd.shell.util.TableRow

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.