return settings;
}
private static RuntimeInfo createRuntimeInfo( CommandLine commandLine, Settings settings )
{
RuntimeInfo runtimeInfo = new RuntimeInfo( settings );
if ( commandLine.hasOption( CLIManager.FORCE_PLUGIN_UPDATES ) ||
commandLine.hasOption( CLIManager.FORCE_PLUGIN_UPDATES2 ) )
{
runtimeInfo.setPluginUpdateOverride( Boolean.TRUE );
}
else if ( commandLine.hasOption( CLIManager.SUPPRESS_PLUGIN_UPDATES ) )
{
runtimeInfo.setPluginUpdateOverride( Boolean.FALSE );
}
return runtimeInfo;
}