Interface ICommandParameterBuilder
Represents a builder for configuring a command parameter.
Inherited Members
ICommandBuilder.Ref(out CommandDefinition)
ICommandBuilder.CreateCommandParameter(string, ParameterDefinition)
ICommandBuilder.CreateOrUpdateCommandParameter(string, ParameterDefinition)
ICommandBuilder.UpdateCommandParameter(string)
ICommandBuilder.DeleteCommandParameter(string)
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 ICommandParameterBuilder : ICommandBuilder, IProcessDefinitionBuilder
Methods
Name(string)
Sets the name of the current parameter.
DeclarationICommandParameterBuilder Name(string name)
Type | Name | Description |
---|---|---|
string | name | The name to set for the parameter. |
Type | Description |
---|---|
ICommandParameterBuilder | The current <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandParameterBuilder" data-throw-if-not-resolved="false"></xref> instance. |
Parameter(ParameterDefinition)
Sets the parameter definition.
DeclarationICommandParameterBuilder Parameter(ParameterDefinition parameter)
Type | Name | Description |
---|---|---|
ParameterDefinition | parameter | The parameter definition to set. |
Type | Description |
---|---|
ICommandParameterBuilder | The current <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandParameterBuilder" data-throw-if-not-resolved="false"></xref> instance. |
Required()
Marks the parameter as required.
DeclarationICommandParameterBuilder Required()
Type | Description |
---|---|
ICommandParameterBuilder | The current <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandParameterBuilder" data-throw-if-not-resolved="false"></xref> instance. |
NotRequired()
Marks the parameter as not required.
DeclarationICommandParameterBuilder NotRequired()
Type | Description |
---|---|
ICommandParameterBuilder | The current <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandParameterBuilder" data-throw-if-not-resolved="false"></xref> instance. |
DefaultValue(string)
Sets the default value for the parameter using a string representation.
DeclarationICommandParameterBuilder DefaultValue(string defaultValue)
Type | Name | Description |
---|---|---|
string | defaultValue | The default value as a string. |
Type | Description |
---|---|
ICommandParameterBuilder | The current <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandParameterBuilder" data-throw-if-not-resolved="false"></xref> instance. |
DefaultValue(object)
Sets the default value for the parameter using an object.
DeclarationICommandParameterBuilder DefaultValue(object defaultValue)
Type | Name | Description |
---|---|---|
object | defaultValue | The default value as an object. |
Type | Description |
---|---|
ICommandParameterBuilder | The current <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandParameterBuilder" data-throw-if-not-resolved="false"></xref> instance. |
ClearDefaultValue()
Clears the default value of the parameter.
DeclarationICommandParameterBuilder ClearDefaultValue()
Type | Description |
---|---|
ICommandParameterBuilder | The current <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandParameterBuilder" data-throw-if-not-resolved="false"></xref> instance. |
CreateCommentary(string)
Creates a commentary for the parameter.
DeclarationICommandParameterBuilder CreateCommentary(string comment)
Type | Name | Description |
---|---|---|
string | comment | The commentary text. |
Type | Description |
---|---|
ICommandParameterBuilder | The current <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandParameterBuilder" data-throw-if-not-resolved="false"></xref> instance. |
AppendCommentary(string)
Appends text to the existing commentary of the parameter.
DeclarationICommandParameterBuilder AppendCommentary(string comment)
Type | Name | Description |
---|---|---|
string | comment | The text to append to the commentary. |
Type | Description |
---|---|
ICommandParameterBuilder | The current <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandParameterBuilder" data-throw-if-not-resolved="false"></xref> instance. |
DeleteCommentary()
Deletes the commentary of the parameter.
DeclarationICommandParameterBuilder DeleteCommentary()
Type | Description |
---|---|
ICommandParameterBuilder | The current <xref href="OptimaJet.Workflow.Core.Model.Builder.ICommandParameterBuilder" data-throw-if-not-resolved="false"></xref> instance. |