Package de.xima.fc.workflow
Class UpdateModelParams
- java.lang.Object
-
- de.xima.fc.workflow.UpdateModelParams
-
- All Implemented Interfaces:
IUpdateCustomParametersParams,Serializable
public final class UpdateModelParams extends Object implements IUpdateCustomParametersParams
Default POJO implementation ofIUpdateCustomParametersParams.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateModelParams(com.alibaba.fastjson.JSONObject dataModelJson, String currentVersion, String previousVersion)Creates a new POJO implementingIUpdateCustomParametersParamswith the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCurrentVersion()com.alibaba.fastjson.JSONObjectgetDataModelJson()StringgetPreviousVersion()
-
-
-
Constructor Detail
-
UpdateModelParams
public UpdateModelParams(com.alibaba.fastjson.JSONObject dataModelJson, String currentVersion, String previousVersion)Creates a new POJO implementingIUpdateCustomParametersParamswith the given data.- Parameters:
dataModelJson- The data that will be returned byIUpdateCustomParametersParams.getDataModelJson().currentVersion- The data that will be returned byIUpdateCustomParametersParams.getCurrentVersion().previousVersion- The data that will be returned byIUpdateCustomParametersParams.getPreviousVersion().
-
-
Method Detail
-
getCurrentVersion
public String getCurrentVersion()
- Specified by:
getCurrentVersionin interfaceIUpdateCustomParametersParams- Returns:
- The current version of the custom parameters.
-
getDataModelJson
public com.alibaba.fastjson.JSONObject getDataModelJson()
- Specified by:
getDataModelJsonin interfaceIUpdateCustomParametersParams- Returns:
- The JSON data that needs to be updated.
-
getPreviousVersion
public String getPreviousVersion()
- Specified by:
getPreviousVersionin interfaceIUpdateCustomParametersParams- Returns:
- The previous version that was used to create the given
IUpdateCustomParametersParams.getDataModelJson().
-
-