Add a method that Karaf can use to get the description of the command. Depends on a change in karaf too to get this to work.

This commit is contained in:
Hiram Chirino 2016-05-05 09:25:26 -04:00
parent 65cef69130
commit 7fd5fa9253
1 changed files with 7 additions and 0 deletions

View File

@ -74,6 +74,13 @@ public class ActiveMQCommandSupport extends OsgiCommandSupport {
}
/**
* @return the description of the command.
*/
public String description() {
return command.getOneLineDescription();
}
public Command getCommand() {
return command;
}