Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

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

Syntax
public interface ICommandBuilder : IProcessDefinitionBuilder

Methods

Ref(out CommandDefinition)

Sets the reference to the current command definition.

Declaration
ICommandBuilder Ref(out CommandDefinition commandDefinition)
Parameters
TypeNameDescription
CommandDefinitioncommandDefinitionThe command definition reference.
Returns
TypeDescription
ICommandBuilderThe 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.

Declaration
ICommandBuilder Name(string name)
Parameters
TypeNameDescription
stringnameThe name of the command.
Returns
TypeDescription
ICommandBuilderThe 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.

Declaration
ICommandParameterBuilder CreateCommandParameter(string name, ParameterDefinition parameter)
Parameters
TypeNameDescription
stringnameThe name of the parameter.
ParameterDefinitionparameterThe parameter definition.
Returns
TypeDescription
ICommandParameterBuilderAn 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.

Declaration
ICommandParameterBuilder CreateOrUpdateCommandParameter(string name, ParameterDefinition parameter)
Parameters
TypeNameDescription
stringnameThe name of the parameter.
ParameterDefinitionparameterThe parameter definition.
Returns
TypeDescription
ICommandParameterBuilderAn 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.

Declaration
ICommandParameterBuilder UpdateCommandParameter(string name)
Parameters
TypeNameDescription
stringnameThe name of the parameter to update.
Returns
TypeDescription
ICommandParameterBuilderAn 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.

Declaration
ICommandBuilder DeleteCommandParameter(string name)
Parameters
TypeNameDescription
stringnameThe name of the parameter to delete.
Returns
TypeDescription
ICommandBuilderThe 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.

Declaration
ICommandBuilder CreateCommentary(string comment)
Parameters
TypeNameDescription
stringcommentThe commentary text.
Returns
TypeDescription
ICommandBuilderThe 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.

Declaration
ICommandBuilder AppendCommentary(string comment)
Parameters
TypeNameDescription
stringcommentThe additional commentary text.
Returns
TypeDescription
ICommandBuilderThe 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.

Declaration
ICommandBuilder DeleteCommentary()
Returns
TypeDescription
ICommandBuilderThe current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandBuilder" data-throw-if-not-resolved="false"></xref>.

Extension Methods