Skip to main content

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

Class BuildStepResult

Represents the result of a build step execution

Inheritance

↳ object

    ↳ BuildStepResult

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Builder

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public sealed class BuildStepResult

Properties

IsSuccess

Declaration
public bool IsSuccess { get; }
Property value
TypeDescription
bool

ProcessDefinition

Declaration
public ProcessDefinition ProcessDefinition { get; }
Property value
TypeDescription
ProcessDefinition

Errors

Declaration
public ReadOnlyCollection<string> Errors { get; }
Property value
TypeDescription
ReadOnlyCollection<string>

Methods

Fail(List<string>)

Declaration
public static BuildStepResult Fail(List<string> errors)
Parameters
TypeNameDescription
List<string>errors
Returns
TypeDescription
BuildStepResult

Fail(string)

Declaration
public static BuildStepResult Fail(string error)
Parameters
TypeNameDescription
stringerror
Returns
TypeDescription
BuildStepResult

Success(ProcessDefinition)

Declaration
public static BuildStepResult Success(ProcessDefinition processDefinition)
Parameters
TypeNameDescription
ProcessDefinitionprocessDefinition
Returns
TypeDescription
BuildStepResult

Extension Methods