Skip to content

Commit

Permalink
cellshell: admin interface commands (method -> class conversion)
Browse files Browse the repository at this point in the history
Motivation

To convert the admin commands from methods to classes by implementing the @command annotation, which provide helpful description and hint.

Modification

These following commands were modified:
1. getroutes command
2. getcellinfo command
3. getcellinfos command
4. getcontex command

Result

Helpful description of the command with usage explanation of the arguments and options

Acked-by: Paul Millar
Target: trunk
Require-book: no
Require-notes: no
  • Loading branch information
Olufemi Adeyemi committed Aug 4, 2015
1 parent 6e2f642 commit c6eeea9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions modules/cells/src/main/java/dmg/cells/nucleus/CellShell.java
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,6 @@ private String commandLine( String c ) throws CommandExitException {
//
// getroutes, getcelltunnelinfos, getcellinfos
//
public Object ac_getroutes( Args args ){
return _nucleus.getRoutingList() ;
}
@Command(name = "getroutes", hint = "list all routes",
description = "List all message routes available in " +
"this domain. The returned information " +
Expand Down

0 comments on commit c6eeea9

Please sign in to comment.