Lines Matching refs:table

358    * Creates the summary table.
369 TableBuilder table = new TableBuilder();
378 table.appendHeading(INFO_TASKINFO_FIELD_ID.get());
379 table.appendHeading(INFO_TASKINFO_FIELD_TYPE.get());
380 table.appendHeading(INFO_TASKINFO_FIELD_STATUS.get());
383 table.startRow();
384 table.appendCell(taskId);
385 table.appendCell(entryWrapper.getType());
386 table.appendCell(entryWrapper.getState());
392 table.print(tablePrinter);
401 * Creates the summary table.
403 * @return list of strings of IDs of all the tasks in the table in order
404 * of the indexes printed in the table
473 private static void printTable(TableBuilder table, int column, int width, StringWriter sw)
479 table.print(tablePrinter);
533 /** Executable for printing a task summary table. */
538 // Since the summary table is reprinted every time,
622 TableBuilder table = new TableBuilder();
623 table.appendHeading(INFO_TASKINFO_DETAILS.get());
625 table.startRow();
626 table.appendCell(INFO_TASKINFO_FIELD_ID.get());
627 table.appendCell(taskEntry.getId());
629 table.startRow();
630 table.appendCell(INFO_TASKINFO_FIELD_TYPE.get());
631 table.appendCell(taskEntry.getType());
633 table.startRow();
634 table.appendCell(INFO_TASKINFO_FIELD_STATUS.get());
635 table.appendCell(taskEntry.getState());
637 table.startRow();
638 table.appendCell(INFO_TASKINFO_FIELD_SCHEDULED_START.get());
642 table.appendCell(m);
646 table.appendCell(INFO_TASKINFO_IMMEDIATE_EXECUTION.get());
648 table.appendCell(m);
651 table.startRow();
652 table.appendCell(INFO_TASKINFO_FIELD_ACTUAL_START.get());
653 table.appendCell(taskEntry.getActualStartTime());
655 table.startRow();
656 table.appendCell(INFO_TASKINFO_FIELD_COMPLETION_TIME.get());
657 table.appendCell(taskEntry.getCompletionTime());
661 table,
665 table.startRow();
666 table.appendCell(INFO_TASKINFO_FIELD_FAILED_DEPENDENCY_ACTION.get());
668 table.appendCell(m != null ? m : INFO_TASKINFO_NONE.get());
671 table,
677 table,
683 printTable(table, 1, 0, sw);
687 // Create a table for the task options
688 table = new TableBuilder();
689 table.appendHeading(INFO_TASKINFO_OPTIONS.get(taskEntry.getType()));
693 table.startRow();
694 table.appendCell(attrName);
697 table.appendCell(values.get(0));
701 table.startRow();
702 table.appendCell();
703 table.appendCell(values.get(i));
708 printTable(table, 1, 0, sw);
714 // Create a table for the last log entry
715 table = new TableBuilder();
716 table.appendHeading(INFO_TASKINFO_FIELD_LAST_LOG.get());
717 table.startRow();
718 table.appendCell(logs.get(logs.size() - 1));
721 printTable(table, 0, 0, sw);
734 * Writes an attribute and associated values to the table.
735 * @param table of task details
739 private void writeMultiValueCells(TableBuilder table,
742 writeMultiValueCells(table, fieldLabel, values, INFO_TASKINFO_NONE.get());
746 * Writes an attribute and associated values to the table.
748 * @param table of task details
753 private void writeMultiValueCells(TableBuilder table,
757 table.startRow();
758 table.appendCell(fieldLabel);
760 table.appendCell(noneLabel);
762 table.appendCell(values.get(0));
766 table.startRow();
767 table.appendCell();
768 table.appendCell(values.get(i));
794 // Create a table for the last log entry
795 TableBuilder table = new TableBuilder();
796 table.appendHeading(INFO_TASKINFO_FIELD_LOG.get());
799 table.startRow();
800 table.appendCell(log);
803 table.startRow();
804 table.appendCell(INFO_TASKINFO_NONE.get());
807 printTable(table, 0, 0, sw);