
com.almworks.jira.structure.api2g.VersionedDataUpdate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structure-api Show documentation
Show all versions of structure-api Show documentation
Public API for the Structure Plugin for JIRA
package com.almworks.jira.structure.api2g;
import javax.annotation.Nonnull;
public abstract class VersionedDataUpdate {
private final DataVersion myVersion;
protected VersionedDataUpdate(@Nonnull DataVersion version) {
if (version == null) throw new NullPointerException();
myVersion = version;
}
@Nonnull
public final DataVersion getVersion() {
return myVersion;
}
public boolean isTotalUpdate() {
return false;
}
public boolean isEmptyUpdate() {
return false;
}
public boolean isIncremental() {
return !isTotalUpdate();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy