use of org.jbpm.query.jpa.data.QueryWhere.QueryCriteriaType in project jbpm by kiegroup.
the class ErrorInfoQueryBuilderImpl method stackTraceRegex.
@Override
public ErrorInfoQueryBuilder stackTraceRegex(String... stackTraceRegex) {
QueryWhere queryWhere = getQueryWhere();
QueryCriteriaType origCriteriaType = queryWhere.getCriteriaType();
queryWhere.setToLike();
addObjectParameter(STACK_TRACE_LIST, "stack trace regex", stackTraceRegex);
switch(origCriteriaType) {
case NORMAL:
queryWhere.setToNormal();
break;
case RANGE:
queryWhere.setToRange();
break;
case GROUP:
queryWhere.setToGroup();
break;
case REGEXP:
}
return this;
}
Aggregations