io.vertx.core.cli.annotations.Argument Java Examples

The following examples show how to use io.vertx.core.cli.annotations.Argument. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: LocalMapRm.java    From vertx-shell with Apache License 2.0 4 votes vote down vote up
@Argument(index = 1, argName = "keys")
@Description("the keys to get")
public void setKeys(List<String> keys) {
  this.keys = keys;
}
 
Example #2
Source File: MetricsInfo.java    From vertx-dropwizard-metrics with Apache License 2.0 4 votes vote down vote up
@Argument(index = 0, argName = "name")
@Description("the metrics name, can be a metrics prefix or a precise name")
public void setName(String name) {
  this.name = name;
}
 
Example #3
Source File: MetricsHistogram.java    From vertx-dropwizard-metrics with Apache License 2.0 4 votes vote down vote up
@Argument(index = 1, argName = "columns", required = false)
@Description("The configurable histogram metrics columns to show [min max 75% 95% 98% 99% 99.9%]")
public void setColumns(List<String> columns) {
  this.columns = columns;
}
 
Example #4
Source File: MetricsHistogram.java    From vertx-dropwizard-metrics with Apache License 2.0 4 votes vote down vote up
@Argument(index = 0, argName = "name")
@Description("The histogram metrics name, can be a prefix or a precise name")
public void setName(String name) {
  this.name = name;
}
 
Example #5
Source File: BusTail.java    From vertx-shell with Apache License 2.0 4 votes vote down vote up
@Argument(index =  0, argName = "address")
@Description("the bus address destination")
public void setAddresses(List<String> addresses) {
  this.addresses = addresses;
}
 
Example #6
Source File: LocalMapGet.java    From vertx-shell with Apache License 2.0 4 votes vote down vote up
@Argument(index = 1, argName = "keys", required = false)
@Description("the keys to get")
public void setKeys(List<String> keys) {
  this.keys = keys;
}
 
Example #7
Source File: LocalMapGet.java    From vertx-shell with Apache License 2.0 4 votes vote down vote up
@Argument(index = 0, argName = "map")
@Description("the name of the map to get from")
public void setMap(String map) {
  this.map = map;
}
 
Example #8
Source File: FileSystemLs.java    From vertx-shell with Apache License 2.0 4 votes vote down vote up
@Argument(index = 0, argName = "file", required = false)
@Description("the file to list")
@DefaultValue(".")
public void setFile(String file) {
  this.file = file;
}
 
Example #9
Source File: VerticleUndeploy.java    From vertx-shell with Apache License 2.0 4 votes vote down vote up
@Argument(index = 0, argName = "id")
@Description("the verticle id")
public void setId(String id) {
  this.id = id;
}
 
Example #10
Source File: FileSystemCd.java    From vertx-shell with Apache License 2.0 4 votes vote down vote up
@Argument(index = 0, argName = "dir", required = false)
@Description("the new working dir")
public void setDir(String dir) {
  this.dir = dir;
}
 
Example #11
Source File: InspectCommand.java    From konduit-serving with Apache License 2.0 4 votes vote down vote up
@Argument(index = 0, argName = "server-id")
@Description("Konduit server id")
public void setId(String id) {
    this.id = id;
}
 
Example #12
Source File: LocalMapRm.java    From vertx-shell with Apache License 2.0 4 votes vote down vote up
@Argument(index = 0, argName = "map", required = false)
@Description("the name of the map to get from")
public void setMap(String map) {
  this.map = map;
}
 
Example #13
Source File: BusPublish.java    From vertx-shell with Apache License 2.0 4 votes vote down vote up
@Argument(index =  1, argName = "body", required = false)
@Description("the message body")
public void setBody(String body) {
  this.body = body;
}
 
Example #14
Source File: BusPublish.java    From vertx-shell with Apache License 2.0 4 votes vote down vote up
@Argument(index =  0, argName = "address")
@Description("the bus address destination")
public void setAddress(String address) {
  this.address = address;
}
 
Example #15
Source File: Sleep.java    From vertx-shell with Apache License 2.0 4 votes vote down vote up
@Description("the number of seconds to wait")
@Argument(index = 0, argName = "seconds")
public void setSeconds(String seconds) {
  this.seconds = seconds;
}
 
Example #16
Source File: LocalMapPut.java    From vertx-shell with Apache License 2.0 4 votes vote down vote up
@Argument(index = 2, argName = "value", required = false)
@Description("the value to put")
public void setValue(String value) {
  this.value = value;
}
 
Example #17
Source File: LocalMapPut.java    From vertx-shell with Apache License 2.0 4 votes vote down vote up
@Argument(index = 1, argName = "key", required = false)
@Description("the key to put")
public void setKey(String key) {
  this.key = key;
}
 
Example #18
Source File: LocalMapPut.java    From vertx-shell with Apache License 2.0 4 votes vote down vote up
@Argument(index = 0, argName = "map", required = false)
@Description("the local shared map name")
public void setMap(String map) {
  this.map = map;
}
 
Example #19
Source File: VerticleDeploy.java    From vertx-shell with Apache License 2.0 4 votes vote down vote up
@Argument(index = 1, argName = "options", required = false)
@Description("the verticle deployment options as JSON string")
public void setOptions(String options) {
  this.options = options;
}
 
Example #20
Source File: VerticleDeploy.java    From vertx-shell with Apache License 2.0 4 votes vote down vote up
@Argument(index = 0, argName = "name")
@Description("the verticle name")
public void setName(String name) {
  this.name = name;
}