Workflow Engine .NET  2
Public Member Functions | List of all members
OptimaJet.Workflow.Core.Parser.IWorkflowParser< TSchemeMedium > Interface Template Reference

Interface of a workflow parser, which parses not parsed process scheme SchemeDefinition<T> to the object model of a scheme of a process ProcessDefinition More...

Inheritance diagram for OptimaJet.Workflow.Core.Parser.IWorkflowParser< TSchemeMedium >:
OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >

Public Member Functions

ProcessDefinition Parse (TSchemeMedium schemeMedium)
 Returns object model of the scheme of a process More...
 
ProcessDefinition Parse (string scheme)
 Returns object model of the scheme of a process More...
 
TSchemeMedium SerializeToSchemeMedium (ProcessDefinition processDefinition)
 Serializes object model of the scheme to not parsed scheme More...
 
string SerializeToString (ProcessDefinition processDefinition)
 Serializes object model of the scheme to string More...
 

Detailed Description

Interface of a workflow parser, which parses not parsed process scheme SchemeDefinition<T> to the object model of a scheme of a process ProcessDefinition

Template Parameters
TSchemeMediumType of not parsed scheme
Type Constraints
TSchemeMedium :class 

Member Function Documentation

◆ Parse() [1/2]

ProcessDefinition OptimaJet.Workflow.Core.Parser.IWorkflowParser< TSchemeMedium >.Parse ( TSchemeMedium  schemeMedium)

Returns object model of the scheme of a process

Parameters
schemeMediumNot parsed scheme
Returns
ProcessDefinition object

Implemented in OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.

◆ Parse() [2/2]

ProcessDefinition OptimaJet.Workflow.Core.Parser.IWorkflowParser< TSchemeMedium >.Parse ( string  scheme)

Returns object model of the scheme of a process

Parameters
schemeString representation of not parsed scheme
Returns
ProcessDefinition object

Implemented in OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.

◆ SerializeToSchemeMedium()

TSchemeMedium OptimaJet.Workflow.Core.Parser.IWorkflowParser< TSchemeMedium >.SerializeToSchemeMedium ( ProcessDefinition  processDefinition)

Serializes object model of the scheme to not parsed scheme

Parameters
processDefinitionProcessDefinition object
Returns
Not parsed scheme

Implemented in OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.

◆ SerializeToString()

string OptimaJet.Workflow.Core.Parser.IWorkflowParser< TSchemeMedium >.SerializeToString ( ProcessDefinition  processDefinition)

Serializes object model of the scheme to string

Parameters
processDefinitionProcessDefinition object
Returns
String representation of not parsed scheme

Implemented in OptimaJet.Workflow.Core.Parser.WorkflowParser< TSchemeMedium >.