equal
deleted
inserted
replaced
31 */ |
31 */ |
32 public class InfoLister { |
32 public class InfoLister { |
33 |
33 |
34 private static final Logger log = Logger.getLogger(InfoLister.class.getName()); |
34 private static final Logger log = Logger.getLogger(InfoLister.class.getName()); |
35 private PrintStream out; |
35 private PrintStream out; |
|
36 private ConfigurationProvider configurationProvider; |
36 |
37 |
37 public InfoLister(PrintStream out) { |
38 public InfoLister(PrintStream out, ConfigurationProvider configurationProvider) { |
38 this.out = out; |
39 this.out = out; |
|
40 this.configurationProvider = configurationProvider; |
39 } |
41 } |
40 |
42 |
41 public void showInfo(CLIOptions options) { |
43 public void showInfo(CLIOptions options) { |
42 EnumSet<CLIOptions.INFO_TYPE> infoTypes = options.getShowInfo(); |
44 EnumSet<CLIOptions.INFO_TYPE> infoTypes = options.getShowInfo(); |
43 for (CLIOptions.INFO_TYPE infoType : infoTypes) { |
45 for (CLIOptions.INFO_TYPE infoType : infoTypes) { |