Interface ICommandBuilder
Represents a builder for configuring a command.
Inherited Members
IProcessDefinitionBuilder.CreateActor(string, string)
IProcessDefinitionBuilder.CreateOrUpdateActor(string, string)
IProcessDefinitionBuilder.UpdateActor(string)
IProcessDefinitionBuilder.DeleteActor(string)
IProcessDefinitionBuilder.CreateParameter(string, Type, ParameterPurpose)
IProcessDefinitionBuilder.CreateOrUpdateParameter(string, Type, ParameterPurpose)
IProcessDefinitionBuilder.UpdateParameter(string)
IProcessDefinitionBuilder.DeleteParameter(string)
IProcessDefinitionBuilder.CreateCommand(string)
IProcessDefinitionBuilder.CreateOrUpdateCommand(string)
IProcessDefinitionBuilder.UpdateCommand(string)
IProcessDefinitionBuilder.DeleteCommand(string)
IProcessDefinitionBuilder.CreateTimer(string)
IProcessDefinitionBuilder.CreateOrUpdateTimer(string)
IProcessDefinitionBuilder.UpdateTimer(string)
IProcessDefinitionBuilder.DeleteTimer(string)
IProcessDefinitionBuilder.CreateActivity(string)
IProcessDefinitionBuilder.AddActivity(ActivityDefinition)
IProcessDefinitionBuilder.CreateInlineActivity(string, string)
IProcessDefinitionBuilder.CreateOrUpdateActivity(string)
IProcessDefinitionBuilder.CreateOrUpdateInlineActivity(string, string)
IProcessDefinitionBuilder.UpdateActivity(string)
IProcessDefinitionBuilder.UpdateInlineActivity(string)
IProcessDefinitionBuilder.UpdateActivity(ActivityDefinition)
IProcessDefinitionBuilder.UpdateInlineActivity(ActivityDefinition)
IProcessDefinitionBuilder.DeleteActivity(string)
IProcessDefinitionBuilder.DeleteActivity(ActivityDefinition)
IProcessDefinitionBuilder.CreateTransition(string, ActivityDefinition, ActivityDefinition)
IProcessDefinitionBuilder.CreateOrUpdateTransition(string, ActivityDefinition, ActivityDefinition)
IProcessDefinitionBuilder.UpdateTransition(string)
IProcessDefinitionBuilder.UpdateTransition(TransitionDefinition)
IProcessDefinitionBuilder.DeleteTransition(string)
IProcessDefinitionBuilder.DeleteTransition(TransitionDefinition)
IProcessDefinitionBuilder.ForEachActivity(Action<IActivityBuilder>)
IProcessDefinitionBuilder.ForEachTransition(Action<ITransitionBuilder>)
IProcessDefinitionBuilder.Inlined()
IProcessDefinitionBuilder.NotInlined()
IProcessDefinitionBuilder.GetActivity(string, out ActivityDefinition)
IProcessDefinitionBuilder.GetTransition(string, out TransitionDefinition)
IProcessDefinitionBuilder.ProcessDefinition
Namespace: OptimaJet.Workflow.Core.Model.Builder
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic interface ICommandBuilder : IProcessDefinitionBuilder
Methods
Ref(out CommandDefinition)
Sets the reference to the current command definition.
DeclarationICommandBuilder Ref(out CommandDefinition commandDefinition)
Type | Name | Description |
---|---|---|
CommandDefinition | commandDefinition | The command definition reference. |
Type | Description |
---|---|
ICommandBuilder | The current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandBuilder" data-throw-if-not-resolved="false"></xref>. |
Name(string)
Sets the name of the current command.
DeclarationICommandBuilder Name(string name)
Type | Name | Description |
---|---|---|
string | name | The name of the command. |
Type | Description |
---|---|
ICommandBuilder | The current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandBuilder" data-throw-if-not-resolved="false"></xref>. |
CreateCommandParameter(string, ParameterDefinition)
Creates a new command parameter with the specified name and parameter definition.
DeclarationICommandParameterBuilder CreateCommandParameter(string name, ParameterDefinition parameter)
Type | Name | Description |
---|---|---|
string | name | The name of the parameter. |
ParameterDefinition | parameter | The parameter definition. |
Type | Description |
---|---|
ICommandParameterBuilder | An instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandParameterBuilder" data-throw-if-not-resolved="false"></xref> for further parameter configuration. |
CreateOrUpdateCommandParameter(string, ParameterDefinition)
Creates or updates a command parameter with the specified name and parameter definition.
DeclarationICommandParameterBuilder CreateOrUpdateCommandParameter(string name, ParameterDefinition parameter)
Type | Name | Description |
---|---|---|
string | name | The name of the parameter. |
ParameterDefinition | parameter | The parameter definition. |
Type | Description |
---|---|
ICommandParameterBuilder | An instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandParameterBuilder" data-throw-if-not-resolved="false"></xref> for further parameter configuration. |
UpdateCommandParameter(string)
Updates an existing command parameter with the specified name.
DeclarationICommandParameterBuilder UpdateCommandParameter(string name)
Type | Name | Description |
---|---|---|
string | name | The name of the parameter to update. |
Type | Description |
---|---|
ICommandParameterBuilder | An instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandParameterBuilder" data-throw-if-not-resolved="false"></xref> for further parameter configuration. |
DeleteCommandParameter(string)
Deletes a command parameter with the specified name.
DeclarationICommandBuilder DeleteCommandParameter(string name)
Type | Name | Description |
---|---|---|
string | name | The name of the parameter to delete. |
Type | Description |
---|---|
ICommandBuilder | The current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandBuilder" data-throw-if-not-resolved="false"></xref>. |
CreateCommentary(string)
Creates a commentary for the current command.
DeclarationICommandBuilder CreateCommentary(string comment)
Type | Name | Description |
---|---|---|
string | comment | The commentary text. |
Type | Description |
---|---|
ICommandBuilder | The current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandBuilder" data-throw-if-not-resolved="false"></xref>. |
AppendCommentary(string)
Appends additional commentary to the current command.
DeclarationICommandBuilder AppendCommentary(string comment)
Type | Name | Description |
---|---|---|
string | comment | The additional commentary text. |
Type | Description |
---|---|
ICommandBuilder | The current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandBuilder" data-throw-if-not-resolved="false"></xref>. |
DeleteCommentary()
Deletes the commentary from the current command.
DeclarationICommandBuilder DeleteCommentary()
Type | Description |
---|---|
ICommandBuilder | The current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandBuilder" data-throw-if-not-resolved="false"></xref>. |