mirror of https://github.com/apache/activemq.git
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:
parent
65cef69130
commit
7fd5fa9253
|
@ -74,6 +74,13 @@ public class ActiveMQCommandSupport extends OsgiCommandSupport {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the description of the command.
|
||||||
|
*/
|
||||||
|
public String description() {
|
||||||
|
return command.getOneLineDescription();
|
||||||
|
}
|
||||||
|
|
||||||
public Command getCommand() {
|
public Command getCommand() {
|
||||||
return command;
|
return command;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue