IPipeline Interface
Represents a named collection of modules that should be executed by the engine.
graph BT Type-.->Interface0["IReadOnlyPipeline"] click Interface0 "/api/Statiq.Common/IReadOnlyPipeline" Type["IPipeline"] class Type type-node Implementing0["TestPipeline"]-.->Type click Implementing0 "/api/Statiq.Testing/TestPipeline" Implementing1["Assets"]-.->Type click Implementing1 "/api/Statiq.Web.Pipelines/Assets" Implementing2["DirectoryMetadata"]-.->Type click Implementing2 "/api/Statiq.Web.Pipelines/DirectoryMetadata" Implementing3["Content"]-.->Type click Implementing3 "/api/Statiq.Web.Pipelines/Content" Implementing4["Data"]-.->Type click Implementing4 "/api/Statiq.Web.Pipelines/Data" Implementing5["Archives"]-.->Type click Implementing5 "/api/Statiq.Web.Pipelines/Archives" Implementing6["Api"]-.->Type click Implementing6 "/api/Statiq.Docs.Pipelines/Api" Implementing7["Redirects"]-.->Type click Implementing7 "/api/Statiq.Web.Pipelines/Redirects" Implementing8["ExecutionPipeline"]-.->Type click Implementing8 "/api/Statiq.Core/ExecutionPipeline" Implementing9["SearchIndex"]-.->Type click Implementing9 "/api/Statiq.Web.Pipelines/SearchIndex" Implementing10["Feeds"]-.->Type click Implementing10 "/api/Statiq.Web.Pipelines/Feeds" Implementing11["NamedPipelineWrapper"]-.->Type click Implementing11 "/api/Statiq.Common/NamedPipelineWrapper" Implementing12["INamedPipeline"]-.->Type click Implementing12 "/api/Statiq.Common/INamedPipeline" Implementing13["Inputs"]-.->Type click Implementing13 "/api/Statiq.Web.Pipelines/Inputs" Implementing14["AnalyzeContent"]-.->Type click Implementing14 "/api/Statiq.Web.Pipelines/AnalyzeContent" Implementing15["INamedPipelineWrapper"]-.->Type click Implementing15 "/api/Statiq.Common/INamedPipelineWrapper" Implementing16["Code"]-.->Type click Implementing16 "/api/Statiq.Docs.Pipelines/Code" Implementing17["Pipeline"]-.->Type click Implementing17 "/api/Statiq.Core/Pipeline" Implementing18["Deployment"]-.->Type click Implementing18 "/api/Statiq.Web.Pipelines/Deployment" Implementing19["Sitemap"]-.->Type click Implementing19 "/api/Statiq.Web.Pipelines/Sitemap"

Syntax

public interface IPipeline : IReadOnlyPipeline

Remarks

If the pipeline implements IDisposable, System.IDisposable.Dispose will be called when the engine is disposed (I.e., on application exit).

Properties

Name Property Type Summary
Dependencies HashSet<string>
DependencyOf HashSet<string>
Deployment bool
ExecutionPolicy ExecutionPolicy
InputModules ModuleList
Modules that will execute during the input phase.
Isolated bool
OutputModules ModuleList
Modules that will execute during the output phase.
PostProcessHasDependencies bool
PostProcessModules ModuleList
Modules that will execute during the post-process phase.
ProcessModules ModuleList
Modules that will execute during the process phase.

Extension Methods

Name Value Summary
AlwaysExecute<IPipeline>() TPipeline
AsDependencyOf<IPipeline>(IEnumerable<string>) TPipeline
AsDependencyOf<IPipeline>(string[]) TPipeline
AsDeployment<IPipeline>(bool) TPipeline
AsIsolated<IPipeline>(bool) TPipeline
AsPostProcessHasDependencies<IPipeline>(bool) TPipeline
GetAllDependencies(IExecutionState) IEnumerable<string>
Gets all dependencies of this pipeline including DependencyOf declarations.
GetAllDependencies(IReadOnlyPipelineCollection) IEnumerable<string>
Gets all dependencies of this pipeline including DependencyOf declarations.
ManuallyExecute<IPipeline>() TPipeline
NormallyExecute<IPipeline>() TPipeline
ThrowIfNull<IPipeline>(string) T
ToDocument<IPipeline>(IContentProvider) IDocument
ToDocument<IPipeline>(IEnumerable<KeyValuePair<string, object>>, IContentProvider) IDocument
ToDocument<IPipeline>(NormalizedPath, IContentProvider) IDocument
ToDocument<IPipeline>(NormalizedPath, IEnumerable<KeyValuePair<string, object>>, IContentProvider) IDocument
ToDocument<IPipeline>(NormalizedPath, NormalizedPath, IContentProvider) IDocument
ToDocument<IPipeline>(NormalizedPath, NormalizedPath, IEnumerable<KeyValuePair<string, object>>, IContentProvider) IDocument
WithDependencies<IPipeline>(IEnumerable<string>) TPipeline
WithDependencies<IPipeline>(string[]) TPipeline
WithExecutionPolicy<IPipeline>(ExecutionPolicy) TPipeline
WithInputConfig<IPipeline>(Config<object>) TPipeline
WithInputModules<IPipeline>(IEnumerable<IModule>) TPipeline
WithInputModules<IPipeline>(IModule[]) TPipeline
WithOutputConfig<IPipeline>(Config<object>) TPipeline
WithOutputModules<IPipeline>(IEnumerable<IModule>) TPipeline
WithOutputModules<IPipeline>(IModule[]) TPipeline
WithPostProcessConfig<IPipeline>(Config<object>) TPipeline
WithPostProcessModules<IPipeline>(IEnumerable<IModule>) TPipeline
WithPostProcessModules<IPipeline>(IModule[]) TPipeline
WithProcessConfig<IPipeline>(Config<object>) TPipeline
WithProcessModules<IPipeline>(IEnumerable<IModule>) TPipeline
WithProcessModules<IPipeline>(IModule[]) TPipeline