try {
if ("stream".equals(kind)) {
populate(completions, springXDOperations.streamOperations().list(), criteria, "Streams");
}
else if ("job".equals(kind)) {
populate(completions, springXDOperations.jobOperations().list(), criteria, "Jobs");
}
else if ("counter".equals(kind)) {
populate(completions, springXDOperations.counterOperations().list(), criteria, "Counters");
}
else if ("fvc".equals(kind)) {