public List<String> queryJson(String queryString, boolean getPatchSets, boolean getCurrentPatchSet, boolean getFiles)
            throws SshException, IOException {
        return queryJson(queryString, getPatchSets, getCurrentPatchSet, getFiles, false);
    }
public List < String > queryJson ( String queryString , boolean getPatchSets , boolean getCurrentPatchSet , boolean getFiles ) throws SshException , IOException { return queryJson ( queryString , getPatchSets , getCurrentPatchSet , getFiles , false ) ; }
Runs the query and returns the result as a list of JSON formatted strings.
@param queryString the query.
@param getPatchSets if all patch-sets of the projects found should be included in the result.
Meaning if --patch-sets should be appended to the command call.
@param getCurrentPatchSet if the current patch-set for the projects found should be included in the result.
Meaning if --current-patch-set should be appended to the command call.
@param getFiles if the files of the patch sets should be included in the result.
Meaning if --files should be appended to the command call.
@return a List of JSON formatted strings.
@throws SshException if there is an error in the SSH Connection.
@throws IOException for some other IO problem.