Package org.kie.internal.query.data

Examples of org.kie.internal.query.data.QueryData


        return result;
    }

    private void throwDebugExceptionWithQueryInformation() {
        StringBuilder message = new StringBuilder("Please contact the developers: the following query retrieved variable instance logs without retrieving the associated process instance logs:\n");
        QueryData queryData = getQueryBuilders()[0].getQueryData();
        for( Entry<String,  List<? extends Object>> entry : queryData.getIntersectParameters().entrySet() ) {
           message.append( "[" + entry.getKey() + ":" + StringUtils.collectionToDelimitedString(entry.getValue(), ",") + "], " );
        }
        for( Entry<String,  List<? extends Object>> entry : queryData.getIntersectRangeParameters().entrySet() ) {
           message.append( "[ (m/m) " + entry.getKey() + ":" + StringUtils.collectionToDelimitedString(entry.getValue(), ",") + "], " );
        }
        for( Entry<String,  List<String>> entry : queryData.getIntersectRegexParameters().entrySet() ) {
           message.append( "[ (re) " + entry.getKey() + ":" + StringUtils.collectionToDelimitedString(entry.getValue(), ",") + "], " );
        }
        throw KieRemoteRestOperationException.internalServerError(message.toString());
    }
View Full Code Here


            taskQueryBuilder.last();
            varInstLogQueryBuilder.last();
        }
     
        // copy query data for var query
        QueryData varLogQueryData = new QueryData(varInstLogQueryBuilder.getQueryData());
       
        // task queries
        TaskQueryDataCommand taskCmd = taskQueryBuilder.createTaskQueryDataCommand();
        List<TaskSummary> taskSummaries = resourceBase.doRestTaskOperation(taskCmd);
      
View Full Code Here

TOP

Related Classes of org.kie.internal.query.data.QueryData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.