@Component public class RichGaugeCommands extends AbstractMetricsCommands implements org.springframework.shell.core.CommandMarker
| 修飾子 | コンストラクターと説明 |
|---|---|
protected | RichGaugeCommands() |
| 修飾子と型 | メソッドと説明 |
|---|---|
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)