this.filterString = filterString;
}
public Set<IntegrationEntity> apply(IntegrationProject project) {
try {
ProjectPathQuery query = new ProjectPathQuery(project);
String path = getPathFromFilterString(filterString);
return query.findItems(path);
} catch (Exception e) {
// HACK: The current implementation of ProjectPathQuery throws a RuntimeException
// if the path has invalid format. Since the filter string comes directly from
// user input we must catch this exception, and I can't see a reasonable way to
// deal with it other than ignore it.