Uploaded image for project: 'Spring Shell'
  1. Spring Shell
  2. SHL-142

Provide better reverse access to classes under `org.springframework.shell.support.table`

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.1 RC1
    • Fix Version/s: 2.0 M1
    • Component/s: None
    • Labels:
      None

      Description

      The respected classes under org.springframework.shell.support.table are not only use solely for formatting tabular console output but are used for testing purposes as well (e.g. to introspect return shell-comment return values).

      Therefore:

      • Make sure that values can be retried based on the table header name as a key. This will help to minimize brittleness of test-cases where right now we have to access values using numeric values (Column number)
      • add toString() to all classes

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              hillert Gunnar Hillert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: