C# Class Bari.Plugins.PythonScripts.Model.BuildScriptMappings

Maps build scripts to source sets
Inheritance: IProjectParameters
Datei anzeigen Open project: vigoo/bari Class Usage Examples

Public Methods

Method Description
Add ( string sourceSetName, IBuildScript buildScript ) : void

Adds a new build script to the suite

BuildScriptMappings ( ) : System.Collections.Generic
GetBuildScriptFor ( ISourceSet sourceSet ) : IBuildScript

Gets the mapped build script for the given source set

HasBuildScriptFor ( ISourceSet sourceSet ) : bool

Checks if there is a build script mapped for the given source set

Method Details

Add() public method

Adds a new build script to the suite
public Add ( string sourceSetName, IBuildScript buildScript ) : void
sourceSetName string Name of the source set for which this build script /// should be executed.
buildScript IBuildScript The build script
return void

BuildScriptMappings() public method

public BuildScriptMappings ( ) : System.Collections.Generic
return System.Collections.Generic

GetBuildScriptFor() public method

Gets the mapped build script for the given source set
public GetBuildScriptFor ( ISourceSet sourceSet ) : IBuildScript
sourceSet ISourceSet The source set to look a build script for
return IBuildScript

HasBuildScriptFor() public method

Checks if there is a build script mapped for the given source set
public HasBuildScriptFor ( ISourceSet sourceSet ) : bool
sourceSet ISourceSet The source set to look a build script for
return bool