private Table displayRichGauge(RichGaugeResource r, NumberFormat pattern) {
		Table t = new Table();
		t.addHeader(1, new TableHeader(String.format("Name"))).addHeader(2, new TableHeader(r.getName()));
		t.newRow().addValue(1, "value").addValue(2, pattern.format(r.getValue()));
		t.newRow().addValue(1, "alpha").addValue(2, pattern.format(r.getAlpha()));
		t.newRow().addValue(1, "average").addValue(2, pattern.format(r.getAverage()));
		t.newRow().addValue(1, "max").addValue(2, pattern.format(r.getMax()));
		t.newRow().addValue(1, "min").addValue(2, pattern.format(r.getMin()));
		t.newRow().addValue(1, "count").addValue(2, pattern.format(r.getCount()));
		return t;
	}
Commands for interacting with RichGauge analytics.

@author Ilayaperumal Gopinathan
spring-xd-shell/src/main/java/org/springframework/xd/shell/command/RichGaugeCommands.java