Interface ISemverUpdating<TData,TElement extends IWorkflowElementEntity>
-
- Type Parameters:
TData
- Type of the properties model for the workflow element.TElement
- Type of the workflow element, i.e. a node or trigger.
- All Superinterfaces:
ICustomParametersUpdateable
,IElementHandler<TData,TElement>
,IResourceBundleLocator
,ISequentialUpdating<TData,TElement,com.vdurmont.semver4j.Semver>
,IWorkflowElementTypeProviding
- All Known Subinterfaces:
ISemverUpdatingNode<TData>
,ISemverUpdatingTrigger<TData>
- All Known Implementing Classes:
FcEmailHandler
,FcHttpRequestHandler
public interface ISemverUpdating<TData,TElement extends IWorkflowElementEntity> extends ISequentialUpdating<TData,TElement,com.vdurmont.semver4j.Semver>
AISequentialUpdating
that interprets the version string as aSemver
and updates the properties model according to the previous and current semantic version.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
-
Fields inherited from interface de.xima.fc.interfaces.workflow.elements.IElementHandler
CURRENT_HANDLER_VERSION
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default com.vdurmont.semver4j.Semver
parseVersion(String version)
Parses the version string into a comparable instance.-
Methods inherited from interface de.xima.fc.interfaces.workflow.elements.IElementHandler
extractDescription, extractName, extractSearchTerms, getCascadingStyleSheet, getDataModelClass, getDisplayLabel, getElementSummaryModel, getElementSummaryXhtml, getFastJsonConverter, getFilterCriteriaForEntities, getHelpPageLocation, getJavaScript, getLocalizedTypeName, getPropertiesBeanClass, getPropertiesViewXhtml, getResourceBundle, getVersion, isAvailable, readEntityReferences, readPlaceholders, validateGlobal, validateLocal, writeEntityReferences, writePlaceholders
-
Methods inherited from interface de.xima.fc.interfaces.workflow.mixin.ISequentialUpdating
getTransitions, updateCustomParams
-
Methods inherited from interface de.xima.fc.interfaces.workflow.IWorkflowElementTypeProviding
getType
-
-
-
-
Method Detail
-
parseVersion
default com.vdurmont.semver4j.Semver parseVersion(String version)
Description copied from interface:ISequentialUpdating
Parses the version string into a comparable instance.- Specified by:
parseVersion
in interfaceISequentialUpdating<TData,TElement extends IWorkflowElementEntity,com.vdurmont.semver4j.Semver>
- Parameters:
version
- Version string to parse.- Returns:
- The parsed version object. Must not be
null
, use a default, such as0.0.0
.
-
-