Package de.xima.fc.workflow.update
Class ListUpdateTransition
- java.lang.Object
 - 
- de.xima.fc.workflow.update.ListUpdateTransition
 
 
- 
- All Implemented Interfaces:
 IUpdateTransition
public final class ListUpdateTransition extends Object implements IUpdateTransition
AIUpdateTransitioncomposed of multiple individual .transitions.- Since:
 - 7.0.1
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ListUpdateTransition(List<? extends IUpdateTransition> transitions) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.alibaba.fastjson.JSONObjectdowngrade(com.alibaba.fastjson.JSONObject json)Performs an upgrade from a newer version to a previous version.com.alibaba.fastjson.JSONObjectupgrade(com.alibaba.fastjson.JSONObject json)Performs an upgrade from a previous version to a newer version. 
 - 
 
- 
- 
Constructor Detail
- 
ListUpdateTransition
public ListUpdateTransition(List<? extends IUpdateTransition> transitions)
- Parameters:
 transitions- List of transitions to execute.
 
 - 
 
- 
Method Detail
- 
downgrade
public com.alibaba.fastjson.JSONObject downgrade(com.alibaba.fastjson.JSONObject json)
Description copied from interface:IUpdateTransitionPerforms an upgrade from a newer version to a previous version.- Specified by:
 downgradein interfaceIUpdateTransition- Parameters:
 json- The JSON from the newer version.- Returns:
 - The downgraded JSON. If this returns 
null, the JSON as passed to this method is used instead - given the assumption that the given JSON was mutated so that it reflects the newer version. 
 
- 
upgrade
public com.alibaba.fastjson.JSONObject upgrade(com.alibaba.fastjson.JSONObject json)
Description copied from interface:IUpdateTransitionPerforms an upgrade from a previous version to a newer version.- Specified by:
 upgradein interfaceIUpdateTransition- Parameters:
 json- The JSON from the previous version.- Returns:
 - The upgraded JSON. If this returns 
null, the JSON as passed to this method is used instead - given the assumption that the given JSON was mutated so that it reflects the newer version. 
 
 - 
 
 -