in vault-core/src/main/java/org/apache/jackrabbit/vault/fs/io/ImportOptions.java [510:579]
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
ImportOptions other = (ImportOptions) obj;
if (acHandling != other.acHandling)
return false;
if (autoSaveThreshold != other.autoSaveThreshold)
return false;
if (cndPattern == null) {
if (other.cndPattern != null)
return false;
} else if (!cndPattern.pattern().equals(other.cndPattern.pattern()))
return false;
if (cugHandling != other.cugHandling)
return false;
if (dependencyHandling != other.dependencyHandling)
return false;
if (dryRun != other.dryRun)
return false;
if (filter == null) {
if (other.filter != null)
return false;
} else if (!filter.equals(other.filter))
return false;
if (hookClassLoader == null) {
if (other.hookClassLoader != null)
return false;
} else if (!hookClassLoader.equals(other.hookClassLoader))
return false;
if (importMode != other.importMode)
return false;
if (listener == null) {
if (other.listener != null)
return false;
} else if (!listener.equals(other.listener))
return false;
if (nonRecursive != other.nonRecursive)
return false;
if (patchDirectory == null) {
if (other.patchDirectory != null)
return false;
} else if (!patchDirectory.equals(other.patchDirectory))
return false;
if (patchKeepInRepo != other.patchKeepInRepo)
return false;
if (patchParentPath == null) {
if (other.patchParentPath != null)
return false;
} else if (!patchParentPath.equals(other.patchParentPath))
return false;
if (pathMapping == null) {
if (other.pathMapping != null)
return false;
} else if (!pathMapping.equals(other.pathMapping))
return false;
if (strict != other.strict)
return false;
if (overwritePrimaryTypesOfFolders != other.overwritePrimaryTypesOfFolders)
return false;
if (idConflictPolicy == null) {
if (other.idConflictPolicy != null)
return false;
} else if (!idConflictPolicy.equals(other.idConflictPolicy))
return false;
return true;
}