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
Syntaxpublic sealed class BuildStepResult
Properties
IsSuccess
Declarationpublic bool IsSuccess { get; }
Type | Description |
---|---|
bool |
ProcessDefinition
Declarationpublic ProcessDefinition ProcessDefinition { get; }
Type | Description |
---|---|
ProcessDefinition |
Errors
Declarationpublic ReadOnlyCollection<string> Errors { get; }
Type | Description |
---|---|
ReadOnlyCollection<string> |
Methods
Fail(List<string>)
Declarationpublic static BuildStepResult Fail(List<string> errors)
Type | Name | Description |
---|---|---|
List<string> | errors |
Type | Description |
---|---|
BuildStepResult |
Fail(string)
Declarationpublic static BuildStepResult Fail(string error)
Type | Name | Description |
---|---|---|
string | error |
Type | Description |
---|---|
BuildStepResult |
Success(ProcessDefinition)
Declarationpublic static BuildStepResult Success(ProcessDefinition processDefinition)
Type | Name | Description |
---|---|---|
ProcessDefinition | processDefinition |
Type | Description |
---|---|
BuildStepResult |