net.sourceforge.argparse4j.inf.Argument.getDest()方法的使用及代码示例

x33g5p2x  于2022-01-15 转载在 其他  
字(3.4k)|赞(0)|评价(0)|浏览(90)

本文整理了Java中net.sourceforge.argparse4j.inf.Argument.getDest()方法的一些代码示例,展示了Argument.getDest()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Argument.getDest()方法的具体详情如下:
包路径:net.sourceforge.argparse4j.inf.Argument
类名称:Argument
方法名:getDest

Argument.getDest介绍

[英]Returns dest value.
[中]返回dest值。

代码示例

代码示例来源:origin: spotify/helios

public String getSentryDsn() {
 return options.getString(sentryDsnArg.getDest());
}

代码示例来源:origin: spotify/helios

public String getStatsdHostPort() {
 return options.getString(statsdHostPortArg.getDest());
}

代码示例来源:origin: spotify/helios

public int getZooKeeperConnectionTimeoutMillis() {
 return options.getInt(zooKeeperConnectiontimeoutArg.getDest());
}

代码示例来源:origin: spotify/helios

public List<String> getPubsubPrefixes() {
 return options.getList(pubsubTopicPrefixArg.getDest());
}

代码示例来源:origin: spotify/helios

public Path getServiceRegistrarPlugin() {
 final File plugin = options.get(serviceRegistrarPluginArg.getDest());
 return plugin != null ? plugin.toPath() : null;
}

代码示例来源:origin: spotify/helios

public List<String> getKafkaBrokers() {
 final List<String> kafkaBrokers = options.getList(kafkaArg.getDest());
 return kafkaBrokers.isEmpty() ? null : kafkaBrokers;
}

代码示例来源:origin: spotify/helios

public String getZooKeeperConnectString() {
 return options.getString(zooKeeperConnectStringArg.getDest());
}

代码示例来源:origin: spotify/helios

public int getZooKeeperSessionTimeoutMillis() {
 return options.getInt(zooKeeperSessiontimeoutArg.getDest());
}

代码示例来源:origin: spotify/helios

public String getZooKeeperClusterId() {
 return options.getString(zooKeeperClusterId.getDest());
}

代码示例来源:origin: spotify/helios

public String getZooKeeperAclAgentUser() {
 return options.getString(zooKeeperAclAgentUser.getDest());
}

代码示例来源:origin: spotify/helios

public String getDomain() {
 return options.getString(domainArg.getDest());
}

代码示例来源:origin: spotify/helios

public String getServiceRegistryAddress() {
 return options.getString(serviceRegistryArg.getDest());
}

代码示例来源:origin: spotify/helios

public Boolean getInhibitMetrics() {
 return fromNullable(options.getBoolean(noMetricsArg.getDest())).or(false);
}

代码示例来源:origin: spotify/helios

public String getName() {
 return options.getString(nameArg.getDest());
}

代码示例来源:origin: spotify/helios

public Boolean getNoZooKeeperRegistration() {
 return fromNullable(options.getBoolean(noZooKeeperRegistrationArg.getDest())).or(false);
}

代码示例来源:origin: spotify/helios

public String getZooKeeperAclMasterUser() {
 return options.getString(zooKeeperAclMasterUser.getDest());
}

代码示例来源:origin: spotify/helios

public Path getStateDirectory() {
 return Paths.get(options.getString(stateDirArg.getDest()));
}

代码示例来源:origin: spotify/helios

protected FastForwardConfig ffwdConfig(final Namespace options) {
  if (!options.getBoolean(ffwdEnabled.getDest())) {
   return null;
  }

  return new FastForwardConfig(
    Optional.ofNullable(options.getString(ffwdAddress.getDest())),
    options.getInt(ffwdInterval.getDest()),
    options.getString(ffwdMetricKey.getDest()));
 }
}

代码示例来源:origin: spotify/helios

public LoggingConfig getLoggingConfig() {
 return new LoggingConfig(options.getInt(verboseArg.getDest()),
   options.getBoolean(syslogArg.getDest()),
   (File) options.get(logconfigArg.getDest()),
   options.getBoolean(noLogSetupArg.getDest()));
}

代码示例来源:origin: spotify/helios

@Override
int run(final Namespace options, final HeliosClient client, final PrintStream out,
    final boolean json, final BufferedReader stdin)
  throws ExecutionException, InterruptedException {
 final String name = options.getString(nameArg.getDest());
 final boolean full = options.getBoolean(fullArg.getDest());
 return run0(client, out, json, name, full);
}

相关文章