public class FeatureUpdate
extends java.lang.Object
Constructor and Description |
---|
FeatureUpdate(short maxVersionLevel,
boolean allowDowngrade) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowDowngrade() |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
short |
maxVersionLevel() |
java.lang.String |
toString() |
public FeatureUpdate(short maxVersionLevel, boolean allowDowngrade)
maxVersionLevel
- the new maximum version level for the finalized feature.
a value < 1 is special and indicates that the update is intended to
delete the finalized feature, and should be accompanied by setting
the allowDowngrade flag to true.allowDowngrade
- - true, if this feature update was meant to downgrade the existing
maximum version level of the finalized feature.
- false, otherwise.public short maxVersionLevel()
public boolean allowDowngrade()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object