C# Class Tmx.Server.Logic.ObjectModel.WorkflowLoader

Description of WorkflowLoader.
Mostra file Open project: apetrovskiy/STUPS

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

AddWorkflowAndReturnWorkflowId() public method

public AddWorkflowAndReturnWorkflowId ( System.Xml.Linq.XContainer xDocument, string pathToWorkflowFile ) : System.Guid
xDocument System.Xml.Linq.XContainer
pathToWorkflowFile string
return System.Guid

ImportXdocumentAndCreateWorkflowAndTasks() public method

public ImportXdocumentAndCreateWorkflowAndTasks ( System.Xml.Linq.XContainer xDocument, System.Guid workflowId ) : void
xDocument System.Xml.Linq.XContainer
workflowId System.Guid
return void

Load() public method

Server failed to load the workflow.
public Load ( string pathToWorkflowFile ) : bool
pathToWorkflowFile string
return bool

Reload() public method

public Reload ( string pathToWorkflowFile ) : void
pathToWorkflowFile string
return void