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 implementingIUpdateCustomParametersParams
with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCurrentVersion()
com.alibaba.fastjson.JSONObject
getDataModelJson()
String
getPreviousVersion()
-
-
-
Constructor Detail
-
UpdateModelParams
public UpdateModelParams(com.alibaba.fastjson.JSONObject dataModelJson, String currentVersion, String previousVersion)
Creates a new POJO implementingIUpdateCustomParametersParams
with 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:
getCurrentVersion
in interfaceIUpdateCustomParametersParams
- Returns:
- The current version of the custom parameters.
-
getDataModelJson
public com.alibaba.fastjson.JSONObject getDataModelJson()
- Specified by:
getDataModelJson
in interfaceIUpdateCustomParametersParams
- Returns:
- The JSON data that needs to be updated.
-
getPreviousVersion
public String getPreviousVersion()
- Specified by:
getPreviousVersion
in interfaceIUpdateCustomParametersParams
- Returns:
- The previous version that was used to create the given
IUpdateCustomParametersParams.getDataModelJson()
.
-
-