Interface IActorBuilder
OptimaJet.Workflow.Core.Model.Builder.IActorBuilder
Represents a builder for configuring an actor.
Namespace: OptimaJet.Workflow.Core.Model.Builder
public interface IActorBuilder : IProcessDefinitionBuilderMethods
IActorBuilder Ref(out ActorDefinition actorDefinition) #Assigns the current actor definition to the out parameter.
Parameters
Name
Type
Description
actorDefinitionActorDefinitionThe output parameter that will hold the current actor definition.
Returns
Type
Description
IActorBuilderThe current instance of IActorBuilder.
IActorBuilder Name(string name) #Sets the name of the current actor definition.
Parameters
Name
Type
Description
nameStringThe name to be set.
Returns
Type
Description
IActorBuilderThe current instance of IActorBuilder.
IActorBuilder Rule(string rule) #Sets the rule for the current actor definition.
Parameters
Name
Type
Description
ruleStringThe rule to be set.
Returns
Type
Description
IActorBuilderThe current instance of IActorBuilder.
IActorBuilder Value(string value) #Sets the value of the current actor definition.
Parameters
Name
Type
Description
valueStringThe value to be set.
Returns
Type
Description
IActorBuilderThe current instance of IActorBuilder.
IActorBuilder Value(object value) #Sets the value of the current actor definition by serializing the provided object.
Parameters
Name
Type
Description
valueObjectThe object to be serialized and set as the value.
Returns
Type
Description
IActorBuilderThe current instance of IActorBuilder.
IActorBuilder ClearValue() #Clears the value of the current actor definition.
Returns
Type
Description
IActorBuilderThe current instance of IActorBuilder.