public void addMemberStatus(RealizationResult result) {
    memberStatuses.add(result);
    // if any member failed, status code will be error
    if (!result.isSuccess()) {
      setStatus(StatusCode.ERROR, "");
    }
  }
for internal use only

@param result the result to add
geode-management/src/main/java/org/apache/geode/management/api/ClusterManagementRealizationResult.java