code: public Set<CommandDefinition> getAllCommandDefinition(final String pluginName) {
  
          Set<CommandDefinition> res = new HashSet<CommandDefinition>();
  
          for (CommandDefinition cd : commandDefinitionsMap.values()) {
              if (cd.getPluginName().equals(pluginName)) {
                  res.add(cd);
              }
          }
  
          return res;
      }
docs: Returns all the command definition that involves the given plugin.
  
  @param pluginName
  the name of the plugin we are interested in
  
  @return all the command definition that involves the given plugin