accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2414) Use annotations for discovering shell commands
Date Sat, 04 Apr 2015 03:00:34 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-2414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14395496#comment-14395496
] 

Josh Elser commented on ACCUMULO-2414:
--------------------------------------

[~ctubbsii] would this be simple now after ACCUMULO-3514 ?

> Use annotations for discovering shell commands
> ----------------------------------------------
>
>                 Key: ACCUMULO-2414
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2414
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: shell
>            Reporter: Mike Drob
>             Fix For: 1.8.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message