@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        final ImportState that = (ImportState) o;

        return docRef.equals(that.docRef);
    }
This has been put here as import export API is not Serializable.
stroom-core-shared/src/main/java/stroom/importexport/shared/ImportState.java