Workflow Engine .NET  2
Public Member Functions | Static Public Member Functions | Properties | List of all members
OptimaJet.Workflow.Core.Model.CommandDefinition Class Reference

Represent a command in a process scheme More...

Inheritance diagram for OptimaJet.Workflow.Core.Model.CommandDefinition:
OptimaJet.Workflow.Core.Model.BaseDefinition

Public Member Functions

void AddParameterRef (string name, bool isRequired, string defaultValue, ParameterDefinition parameter)
 Add the reference on the parameter to InputParameters collection More...
 
void AddParameterRef (string name, ParameterDefinition parameter)
 Add the reference on the parameter to InputParameters collection More...
 
new CommandDefinition Clone ()
 
CommandDefinition Clone (List< ParameterDefinition > parameters)
 
- Public Member Functions inherited from OptimaJet.Workflow.Core.Model.BaseDefinition
BaseDefinition Clone ()
 

Static Public Member Functions

static CommandDefinition Create (string name)
 Create CommandDefinition object More...
 

Properties

List< ParameterDefinitionReferenceInputParameters [get, set]
 List of references on parameters ParameterDefinitionReference More...
 
- Properties inherited from OptimaJet.Workflow.Core.Model.BaseDefinition
virtual string Name [get, set]
 Name of the object in scheme More...
 
DesignerSettings DesignerSettings [get, set]
 Designer settings which used by Workflow Designer More...
 

Detailed Description

Represent a command in a process scheme

Member Function Documentation

◆ AddParameterRef() [1/2]

void OptimaJet.Workflow.Core.Model.CommandDefinition.AddParameterRef ( string  name,
bool  isRequired,
string  defaultValue,
ParameterDefinition  parameter 
)

Add the reference on the parameter to InputParameters collection

Parameters
nameName of the reference
isRequiredIndicates that the parameter is required
defaultValueJSON serialized default value or string
parameterParameter definition

◆ AddParameterRef() [2/2]

void OptimaJet.Workflow.Core.Model.CommandDefinition.AddParameterRef ( string  name,
ParameterDefinition  parameter 
)

Add the reference on the parameter to InputParameters collection

Parameters
nameName of the reference
parameterParameter definition

◆ Create()

static CommandDefinition OptimaJet.Workflow.Core.Model.CommandDefinition.Create ( string  name)
static

Create CommandDefinition object

Parameters
nameName of the command
Returns

Property Documentation

◆ InputParameters

List<ParameterDefinitionReference> OptimaJet.Workflow.Core.Model.CommandDefinition.InputParameters
getset

List of references on parameters ParameterDefinitionReference