/** * Indicates whether this is the root of the entire user project. * * @return see above */ public boolean isProjectRoot() { return isModuleRoot() && StringUtils.isBlank(module); }
private boolean requiresMonitoring(final LogicalPath logicalPath) { if (logicalPath.isProjectRoot()) { return false; // already monitored by ProcessManager } if (StringUtils.isBlank(logicalPath.getModule())) { return true; // non-root path within root module } return logicalPath.isModuleRoot(); } }