Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-2414

Use annotations for discovering shell commands

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • shell
    • None

    Description

      Instead of our current method of hard coded command registration in Shell.config(String...) we should be able to annotate a bunch of classes and have them populate the shell commands list automatically.

      Might also be useful to have an enum for the type of command, instead of a bunch of arrays.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mdrob Mike Drob
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: