Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Interface IActorBuilder

OptimaJet.Workflow.Core.Model.Builder.IActorBuilder

Represents a builder for configuring an actor.

public interface IActorBuilder : IProcessDefinitionBuilder

Methods

IActorBuilder Ref(out ActorDefinition actorDefinition) #
Assigns the current actor definition to the out parameter.

Parameters

Name
Type
Description
actorDefinition
ActorDefinition
The output parameter that will hold the current actor definition.

Returns

Type
Description
IActorBuilder
The current instance of IActorBuilder.
IActorBuilder Name(string name) #
Sets the name of the current actor definition.

Parameters

Name
Type
Description
name
String
The name to be set.

Returns

Type
Description
IActorBuilder
The current instance of IActorBuilder.
IActorBuilder Rule(string rule) #
Sets the rule for the current actor definition.

Parameters

Name
Type
Description
rule
String
The rule to be set.

Returns

Type
Description
IActorBuilder
The current instance of IActorBuilder.
IActorBuilder Value(string value) #
Sets the value of the current actor definition.

Parameters

Name
Type
Description
value
String
The value to be set.

Returns

Type
Description
IActorBuilder
The 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
value
Object
The object to be serialized and set as the value.

Returns

Type
Description
IActorBuilder
The current instance of IActorBuilder.
IActorBuilder ClearValue() #
Clears the value of the current actor definition.

Returns

Type
Description
IActorBuilder
The current instance of IActorBuilder.