Class SchemeDefinition<T>
OptimaJet.Workflow.Core.Model.SchemeDefinition<T>
Represent a not parsed process scheme
Namespace: OptimaJet.Workflow.Core.Model
public class SchemeDefinition<T> where T : classInheritance
- System.Object
Constructors
public SchemeDefinition(Guid id, Guid? rootSchemeId, string schemeCode, string rootSchemeCode, T scheme, bool isObsolete, List<string> allowedActivities, string startingTransition, string tenantId = null) #Create SchemeDefinition object
Parameters
Name
Type
Description
idGuidId of the the scheme
rootSchemeIdNullable<Guid>schemeCodeStringName of the the scheme
rootSchemeCodeStringName of the root scheme if subprocess
scheme{T}Not parsed process scheme
isObsoleteBooleanSign that the scheme is obsolete
allowedActivitiesList<String>startingTransitionStringtenantIdStringpublic SchemeDefinition(ProcessDefinition processDefinition, IWorkflowParser<T> parser, string tenantId = null) #Create SchemeDefinition object
Parameters
Name
Type
Description
processDefinitionProcessDefinitionProcessDefinition object
parserIWorkflowParser<T>WorkflowParser to serialize the scheme
tenantIdStringProperties
Name
Type
Scheme #{T}Not parsed process scheme
SchemeCode #StringName of the the scheme
RootSchemeCode #StringName of the root scheme if subprocess
Id #GuidId of the the scheme
RootSchemeId #Nullable<Guid>Id of the the root scheme if subprocess
TenantId #StringAllowedActivities #List<String>StartingTransition #StringIsObsolete #BooleanSign that the scheme is obsolete