public List<HostRoleCommand> getHostRoleCommands() {
    return hostRoleCommands;
  }
Gets hostRoleCommands that created event
@return List of {@link HostRoleCommand}
ambari-server/src/main/java/org/apache/ambari/server/events/TaskEvent.java