Class FeatureUpdate


  • public class FeatureUpdate
    extends Object
    Encapsulates details about an update to a finalized feature.
    • Constructor Detail

      • FeatureUpdate

        public FeatureUpdate​(short maxVersionLevel,
                             boolean allowDowngrade)
        Parameters:
        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.
    • Method Detail

      • maxVersionLevel

        public short maxVersionLevel()
      • allowDowngrade

        public boolean allowDowngrade()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object