Class UpdateTransitions


  • public final class UpdateTransitions
    extends Object
    Utility methods for creating the update transitions map for the update enums in the sub packages.
    Since:
    7.0.1
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • createForEnum

        public static <T extends Enum<T> & IUpdateTransition & ISemVerProviding> com.google.common.collect.ImmutableMap<com.vdurmont.semver4j.Semver,​IUpdateTransition> createForEnum​(Class<? extends Enum<T>> enumType)
        Type Parameters:
        T - Type of the update enum.
        Parameters:
        enumType - Type of the update enum.
        Returns:
        A map with all transitions of all enums.