public Collection<AdHocCommand> getCommands() {
        return commands.values();
    }
Returns a list with the available commands in this command manager.

@return a list with the available commands in this command manager.
xmppserver/src/main/java/org/jivesoftware/openfire/commands/AdHocCommandManager.java