code: public void setAttributes(Map<String, String> actions)
      {
          this.actions = actions;
          this.actionCounter = actions.keySet().size();
      }
docs: You may use this field to directly, programmatically add your own Map of
  key,value pairs that you would like to send for this command. Setting
  your own map will reset the command index to the number of keys in the
  Map
  
  @see org.asteriskjava.manager.action.UpdateConfigAction#addCommand
  @param actions the actions to set