Methods Summary |
---|
public void | addInstanceConfigs(java.util.List configs)
if(configs != null) {
Iterator<ServiceConfig> iterator = configs.iterator();
while(iterator.hasNext()) {
addInstanceSpecificConfig(iterator.next());
}
}
|
public void | addInstanceSpecificConfig(ServiceConfig config)Add diagnostic service configuration corresponding to a instance
if(config != null) {
configurations.add(config);
}
|
public CLIOptions | getCLIOptions()
return options;
|
public ExecutionContext | getExecutionContext()Returns Execution context
return context;
|
public ServiceConfig | getInstanceConfigByName(java.lang.String name)
ServiceConfig instanceConfig = null;
for(ServiceConfig config : configurations){
if(config.getInstanceName().equalsIgnoreCase(name)){
instanceConfig = config;
break;
}
}
return instanceConfig;
|
public java.util.Iterator | getInstanceConfigurations()In PE, only one configuration is returned.
In SE/EE the report generation may be invoked for multiple instances
return configurations.iterator();
|
public ReportTarget | getTarget()returns ReportTarget
return target;
|
private void | initialize()
configurations = new ArrayList();
|
public java.lang.String | toString()
return options.toString() + target.toString() +
context.toString() + configurations;
|