Package de.xima.fc.workflow.update
Class UpdateTransitions
java.lang.Object
de.xima.fc.workflow.update.UpdateTransitions
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 Summary
Modifier and TypeMethodDescriptionstatic <T extends Enum<T> & IUpdateTransition & ISemVerProviding>
com.google.common.collect.ImmutableMap<com.vdurmont.semver4j.Semver,IUpdateTransition> createForEnum
(Class<? extends Enum<T>> enumType)
-
Method Details
-
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.
-