本文整理了Java中org.apache.maven.settings.Settings.getInteractiveMode()
方法的一些代码示例,展示了Settings.getInteractiveMode()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Settings.getInteractiveMode()
方法的具体详情如下:
包路径:org.apache.maven.settings.Settings
类名称:Settings
方法名:getInteractiveMode
暂无
代码示例来源:origin: fabric8io/docker-maven-plugin
public void execute() throws MojoExecutionException, MojoFailureException {
if (!skip) {
log = new AnsiLogger(getLog(), useColor, verbose, !settings.getInteractiveMode(), getLogPrefix());
authConfigFactory.setLog(log);
imageConfigResolver.setLog(log);
代码示例来源:origin: fabric8io/fabric8-maven-plugin
protected Logger createLogger(String prefix) {
return new AnsiLogger(getLog(), useColor, verbose, !settings.getInteractiveMode(), "F8:" + prefix);
}
代码示例来源:origin: fabric8io/fabric8-maven-plugin
protected Logger createLogger(String prefix) {
return new AnsiLogger(getLog(), useColor, verbose, !settings.getInteractiveMode(), "F8:" + prefix);
}
代码示例来源:origin: org.mule.tools/bobberplus
try
inInteractiveMode = settingsBuilder.buildSettings().getInteractiveMode().booleanValue();
代码示例来源:origin: maven-gae-plugin/maven-gae-plugin
/**
* Generate all common Google AppEngine Task Parameters for use in all the goals.
*
* @return List of arguments to add.
*/
protected List<String> getAppCfgArgs() {
final List<String> args = getCommonArgs();
addEmailOption(args);
addStringOption(args, "--application=", appId);
addStringOption(args, "--version=", appVersion);
addStringOption(args, "--host=", hostString);
addStringOption(args, "--compile_encoding=", encoding);
addProxyOption(args);
addBooleanOption(args, "--passin", passIn);
if (!passIn) {
addBooleanOption(args, "--disable_prompt", !settings.getInteractiveMode());
}
addBooleanOption(args, "--enable_jar_splitting", splitJars);
addBooleanOption(args, "--retain_upload_dir", keepTempUploadDir);
return args;
}
内容来源于网络,如有侵权,请联系作者删除!