@Component public class RichGaugeCommands extends AbstractMetricsCommands implements org.springframework.shell.core.CommandMarker
| Modifier | Constructor and Description |
|---|---|
protected |
RichGaugeCommands() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
available() |
java.lang.String |
delete(java.lang.String name) |
Table |
display(java.lang.String name,
java.text.NumberFormat pattern) |
Table |
list() |
displayMetrics@CliAvailabilityIndicator(value={"rich-gauge list","rich-gauge delete","rich-gauge display"})
public boolean available()
@CliCommand(value="rich-gauge list",
help="List all available richgauge names")
public Table list()
@CliCommand(value="rich-gauge display",
help="Display Rich Gauge value")
public Table display(@CliOption(key={"","name"},help="the name of the richgauge to display value",mandatory=true,optionContext="existing-rich-gauge disable-string-converter")
java.lang.String name,
@CliOption(key="pattern",help="the pattern used to format the richgauge value (see DecimalFormat)",mandatory=false,unspecifiedDefaultValue="
@CliCommand(value="rich-gauge delete",
help="Delete the richgauge")
public java.lang.String delete(@CliOption(key={"","name"},help="the name of the richgauge to delete",mandatory=true,optionContext="existing-rich-gauge disable-string-converter")
java.lang.String name)