Method | Description | |
---|---|---|
AddBuilder ( IBuilder builder ) : void |
Adds a new builder to be executed to the context
|
|
AddTransformation ( Func |
Adds a new graph transformation which will be executed before the builders
|
|
BuildContext ( ICachedBuilderFactory cachedBuilderFactory, IMonitoredBuilderFactory monitoredBuilderFactory, Func |
Initializes the build context
|
|
Contains ( IBuilder builder ) : bool |
Checks whether the given builder was already added to the context
|
|
Dump ( Stream>.Func |
Dumps the build context to dot files
|
|
DumpDependencies ( IBuilder rootBuilder, IUserOutput output ) : void |
Dumps the dependencies of the builder
|
|
GetAllResultsIn ( TargetRelativePath targetDir ) : IEnumerable |
Gets all the result files under the given subdirectory of target root
|
|
GetDependencies ( IBuilder builder ) : IEnumerable |
Gets the dependent builders of a given builder
|
|
GetEffectiveBuilder ( IBuilder builder ) : IBuilder |
Gets the registered effective builder instance for a given builder at the given context
|
|
GetResults ( IBuilder builder ) : ISet |
Gets the result paths returned by the given builder if it has already ran. Otherwise it throws an exception.
|
|
Run ( IBuilder rootBuilder = null, bool>.Func |
Runs all the added builders
|
Method | Description | |
---|---|---|
CreateCachedBuilder ( IBuilder builder, IBuilderStatistics statistics ) : IBuilder | ||
CreateMonitoredBuilder ( IBuilder builder, IBuilderStatistics statistics ) : IBuilder | ||
DumpGraph ( Stream finalStream, AdjacencyGraph |
||
HasCycles ( IVertexListGraph |
||
RemoveIrrelevantBranches ( AdjacencyGraph |
||
RunTransformations ( Stream>.Func |
||
WrapBuilder ( IBuilder builder, IBuilderStatistics statistics ) : IBuilder |
public AddBuilder ( IBuilder builder ) : void | ||
builder | IBuilder | The builder to be executed |
return | void |
public AddTransformation ( Func |
||
transformation | Func |
Transformation function, returns |
return | void |
public BuildContext ( ICachedBuilderFactory cachedBuilderFactory, IMonitoredBuilderFactory monitoredBuilderFactory, Func |
||
cachedBuilderFactory | ICachedBuilderFactory | Interface to create new cached builders |
monitoredBuilderFactory | IMonitoredBuilderFactory | Interface to create new monitored builders |
createBuilderStatistics | Func |
Factory function for IBuilderStatistics instances |
return | System |
public Contains ( IBuilder builder ) : bool | ||
builder | IBuilder | Builder to look for |
return | bool |
public Dump ( Stream>.Func |
||
builderGraphStreamFactory | Stream>.Func | Stream factory to open named streams where the builder graphs will be dumped |
rootBuilder | IBuilder | The root builder |
return | void |
public DumpDependencies ( IBuilder rootBuilder, IUserOutput output ) : void | ||
rootBuilder | IBuilder | The root builder |
output | IUserOutput | Output to dump information to |
return | void |
public GetAllResultsIn ( TargetRelativePath targetDir ) : IEnumerable |
||
targetDir | TargetRelativePath | Subdirectory of target |
return | IEnumerable |
public GetDependencies ( IBuilder builder ) : IEnumerable |
||
builder | IBuilder | Builder to get dependencies of |
return | IEnumerable |
public GetEffectiveBuilder ( IBuilder builder ) : IBuilder | ||
builder | IBuilder | Builder to resolve |
return | IBuilder |
public GetResults ( IBuilder builder ) : ISet |
||
builder | IBuilder | Builder which was added previously with |
return | ISet |
public Run ( IBuilder rootBuilder = null, bool>.Func |
||
rootBuilder | IBuilder | The root builder which represents the final goal of the build process. /// If specified, every branch which is not accessible from the root builder will be removed /// from the build graph before executing it. |
filter | bool>.Func | Filter function, can be used to skip specific builders |
return | ISet |