Package de.xima.fc.workflow
Class UpdateModelParams
java.lang.Object
de.xima.fc.workflow.UpdateModelParams
- All Implemented Interfaces:
IUpdateCustomParametersParams
,Serializable
Default POJO implementation of
IUpdateCustomParametersParams
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateModelParams
(com.alibaba.fastjson.JSONObject dataModelJson, String currentVersion, String previousVersion) Creates a new POJO implementingIUpdateCustomParametersParams
with the given data. -
Method Summary
Modifier and TypeMethodDescriptioncom.alibaba.fastjson.JSONObject
-
Constructor Details
-
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 Details
-
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
- Specified by:
getPreviousVersion
in interfaceIUpdateCustomParametersParams
- Returns:
- The previous version that was used to create the given
IUpdateCustomParametersParams.getDataModelJson()
.
-