public boolean isOrHasAncestor(final TaskId ancestorId) {
        return recursiveEquals(this, ancestorId);
    }
Do not use this constructor directly, instead please use TaskIdFactory.
stroom-core-shared/src/main/java/stroom/task/shared/TaskId.java