org.conqat.engine.service.shared.data.PreCommitDeltaInfo Maven / Gradle / Ivy
package org.conqat.engine.service.shared.data;
import java.util.Set;
/**
* DTO to transfer pre-commit information between client and service.
*/
public class PreCommitDeltaInfo {
private Set removedPaths;
private Set modifiedPaths;
private Set addedPaths;
public PreCommitDeltaInfo(Set addedPaths, Set modifiedPaths, Set removedPaths) {
this.addedPaths = addedPaths;
this.modifiedPaths = modifiedPaths;
this.removedPaths = removedPaths;
}
public Set getAddedPaths() {
return addedPaths;
}
public Set getModifiedPaths() {
return modifiedPaths;
}
public Set getRemovedPaths() {
return removedPaths;
}
public boolean isEmpty() {
return addedPaths.isEmpty() && modifiedPaths.isEmpty() && removedPaths.isEmpty();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy