@Override
        public void run() {
            String filter = name;
            if (filter != null) {
                filter = filter.trim();
                if (filter.length() == 0) {
                    filter = null;
                }
            }

            if (!Objects.equals(filter, criteria.getNameFilter())) {
                // This is a new filter so reset all the expander states
                treeAction.reset();
                criteria.setNameFilter(filter);
                internalRefresh();
            }
        }
This sets the name filter to be used when fetching items. This method
returns false is the filter is set to the same value that is already set.

@param name
@return
stroom-core-client/src/main/java/stroom/task/client/presenter/TaskManagerListPresenter.java