Class WorkflowV1SchemaStrategy
java.lang.Object
com.codingapi.flow.transfer.strategy.WorkflowV1SchemaStrategy
- All Implemented Interfaces:
WorkflowExportStrategy,WorkflowImportStrategy
public class WorkflowV1SchemaStrategy
extends Object
implements WorkflowImportStrategy, WorkflowExportStrategy
V1流程迁移Schema策略。
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
FORMAT
- See Also:
-
SCHEMA_VERSION
public static final int SCHEMA_VERSION- See Also:
-
-
Constructor Details
-
WorkflowV1SchemaStrategy
public WorkflowV1SchemaStrategy()
-
-
Method Details
-
format
- Specified by:
formatin interfaceWorkflowExportStrategy- Specified by:
formatin interfaceWorkflowImportStrategy
-
schemaVersion
public int schemaVersion()- Specified by:
schemaVersionin interfaceWorkflowExportStrategy- Specified by:
schemaVersionin interfaceWorkflowImportStrategy
-
deserialize
- Specified by:
deserializein interfaceWorkflowImportStrategy
-
serialize
- Specified by:
serializein interfaceWorkflowExportStrategy
-