private boolean isIncompatible(RequestAuditEventCreator creator, Resource.Type resourceType, ResultStatus resultStatus, Request.Type requestType) {
    return creator.getRequestTypes() != null && !creator.getRequestTypes().contains(requestType) ||
      creator.getResultStatuses() != null && !creator.getResultStatuses().contains(resultStatus.getStatus()) ||
      creator.getResourceTypes() != null && !creator.getResourceTypes().contains(resourceType);
  }
Checks if the creator is a possible candidate for creating audit log event for the request
@param creator
@param resourceType
@param resultStatus
@param requestType
@return
ambari-server/src/main/java/org/apache/ambari/server/audit/request/RequestAuditLoggerImpl.java