C# Class Bari.Core.Model.Loader.YamlModelLoaderBase

Base class for YAML based loaders
Datei anzeigen Open project: vigoo/bari

Protected Methods

Method Description
LoadYaml ( YamlDocument yaml ) : Suite

Process an already loaded YamlDocument and returns the loaded suite model.

YamlModelLoaderBase ( ISuiteFactory suiteFactory, IEnumerable parametersLoaders, IUserOutput output, IPluginLoader pluginLoader, IEnvironmentVariableContext environmentVariableContext, ISuiteValidator validator ) : System

Initializes the yaml loader

Private Methods

Method Description
LoadDefaultGoal ( Goal>.IDictionary goals, YamlNode rootNode ) : Goal
LoadGoal ( string name, YamlNode value, Goal>.IDictionary loadedGoals ) : Goal
LoadGoals ( YamlNode rootNode ) : Goal>.IDictionary
LoadModule ( Module module, YamlNode moduleNode ) : void
LoadModuleCopyright ( Module module, YamlNode moduleNode ) : void
LoadModuleVersion ( Module module, YamlNode moduleNode ) : void
LoadPackager ( Suite suite, Product product, YamlNode node ) : void
LoadParameters ( Suite suite, IProjectParametersHolder target, YamlNode node ) : void
LoadPlugins ( YamlNode rootNode ) : IEnumerable
LoadProduct ( Suite suite, Product product, YamlNode productNode ) : void
LoadProject ( Suite suite, Project project, YamlNode projectNode ) : void
LoadProjects ( Module module, YamlNode moduleNode ) : void
LoadSourceSetIgnoreLists ( SourceSetIgnoreLists ignoreLists, YamlNode rootNode ) : void
LoadTestProjects ( Module module, YamlNode moduleNode ) : void
ParseVersion ( string version ) : string
SetProjectPostProcessors ( Suite suite, IPostProcessorsHolder project, YamlNode postProcessorDefinitions ) : void
SetProjectReferences ( Project project, IEnumerable referenceNodes ) : void
SetProjectType ( Project project, string typeString ) : void
TryAddParameters ( Suite suite, IProjectParametersHolder target, YamlNode key, YamlNode value ) : void

Method Details

LoadYaml() protected method

Process an already loaded YamlDocument and returns the loaded suite model.
protected LoadYaml ( YamlDocument yaml ) : Suite
yaml YamlDotNet.RepresentationModel.YamlDocument The yaml document to process.
return Suite

YamlModelLoaderBase() protected method

Initializes the yaml loader
protected YamlModelLoaderBase ( ISuiteFactory suiteFactory, IEnumerable parametersLoaders, IUserOutput output, IPluginLoader pluginLoader, IEnvironmentVariableContext environmentVariableContext, ISuiteValidator validator ) : System
suiteFactory ISuiteFactory Factory interface to create new suite instances
parametersLoaders IEnumerable Parameter loader implementations
output IUserOutput Output interface to issue warnings
pluginLoader IPluginLoader Plugin loader interface
environmentVariableContext IEnvironmentVariableContext Environment variable context
validator ISuiteValidator Suite validator interface
return System