use of org.walkmod.ChainAdapterFactory in project walkmod-core by walkmod.
the class ConfigurationImpl method execute.
@Override
public void execute(String userDir, Options options, String... chains) {
ChainAdapterFactory apf = new DefaultChainAdapterFactory();
Summary.getInstance().clear();
Collection<ChainConfig> chainCfgs = getChainConfigs();
if (chainCfgs != null && !chainCfgs.isEmpty()) {
if (chains == null || chains.length == 0) {
executeAllChains(options, apf);
} else {
for (String chain : chains) {
executeChain(userDir, options, apf, chain);
}
}
}
}
Aggregations