public void addTask(final Task task) {
fTasks.add(task);
}
public void execute() throws BuildException {
final IPropertyTable table;
final ITableFilter filter;
try {
table = TableFactory.createTable(fProps, ExcelPropertyTable.class.getName());
filter = TableFactory.createFilter(fProps);
}
catch (final Exception e) {
throw new BuildException("cannot create container", e, getLocation());
}
TableFactory.initOrDefault(table, filter, fProps, fTableContainer, fName);
final List propertiesList = table.getPropertiesList(fValue, null);
LOG.debug("propertiesList.size() = " + propertiesList.size());
if (propertiesList.isEmpty()) {
LOG.warn("no match found in table " + table.getClass().getName() +
" with filter " + table.getFilter().getClass().getName() +
" and settings " + fProps.toString() +
" raw data:" + ((APropertyTable) table).getRawTable());
}
int nbFailures = 0;