C# Класс Tmx.Server.Logic.ObjectModel.WorkflowLoader

Description of WorkflowLoader.
Показать файл Открыть проект

Открытые методы

Метод Описание
AddWorkflowAndReturnWorkflowId ( System.Xml.Linq.XContainer xDocument, string pathToWorkflowFile ) : System.Guid
ImportXdocumentAndCreateWorkflowAndTasks ( System.Xml.Linq.XContainer xDocument, System.Guid workflowId ) : void
Load ( string pathToWorkflowFile ) : bool
Reload ( string pathToWorkflowFile ) : void

Приватные методы

Метод Описание
AddTasksToCommonPool ( IEnumerable importedTasks ) : void
AddWorkflow ( string name, System.Xml.Linq.XContainer xDocument, string pathToWorkflowFile ) : System.Guid
AddWorkflowDefaults ( System.Xml.Linq.XContainer xDocument, System.Guid workflowId ) : void
AddWorkflowPlugins ( System.Guid workflowId ) : void
ConvertTestTaskElementValue ( System.Xml.Linq.XContainer taskNode, string elementName ) : int
CopyWorkflowFileToStorage ( string pathToWorkflowFile ) : string
GetActionCode ( System.Xml.Linq.XContainer taskNode, string elementName ) : string
GetActionParameters ( System.Xml.Linq.XContainer taskNode, string elementName ) : string>.IDictionary
GetDefaultData ( System.Xml.Linq.XContainer xDocument ) : ICommonData
GetFirstTestLab ( ) : ITestLab
GetNewTestTask ( System.Xml.Linq.XContainer taskNode, System.Guid workflowId ) : ITestTask
GetOrCreateTestLab ( string testLabName ) : ITestLab
GetTaskRuntimeType ( string taskRuntimeTypeStringValue ) : TestTaskRuntimeTypes
GetTestTaskElementValue ( System.Xml.Linq.XContainer taskNode, string elementName ) : string
GetTestTaskType ( string taskTypeStringValue ) : TestTaskExecutionTypes
SetParametersPageName ( System.Xml.Linq.XContainer xDocument ) : void

Описание методов

AddWorkflowAndReturnWorkflowId() публичный Метод

public AddWorkflowAndReturnWorkflowId ( System.Xml.Linq.XContainer xDocument, string pathToWorkflowFile ) : System.Guid
xDocument System.Xml.Linq.XContainer
pathToWorkflowFile string
Результат System.Guid

ImportXdocumentAndCreateWorkflowAndTasks() публичный Метод

public ImportXdocumentAndCreateWorkflowAndTasks ( System.Xml.Linq.XContainer xDocument, System.Guid workflowId ) : void
xDocument System.Xml.Linq.XContainer
workflowId System.Guid
Результат void

Load() публичный Метод

Server failed to load the workflow.
public Load ( string pathToWorkflowFile ) : bool
pathToWorkflowFile string
Результат bool

Reload() публичный Метод

public Reload ( string pathToWorkflowFile ) : void
pathToWorkflowFile string
Результат void