Created
January 31, 2017 18:59
-
-
Save websterian/f3a1b9b7dc6a141ce684525830c1b349 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// -------------------------------------------------------------------------------------------------------------------- | |
// <copyright file="CreateSomeItems.cs" company=""> | |
// | |
// </copyright> | |
// <summary> | |
// Defines the CreateSomeItems type. | |
// </summary> | |
// -------------------------------------------------------------------------------------------------------------------- | |
namespace Sitecore.DataExchange.Example.Processors.PipelineSteps | |
{ | |
using Sitecore.DataExchange.Contexts; | |
using Sitecore.DataExchange.Example.Converters.PipelineStep; | |
using Sitecore.DataExchange.Models; | |
using Sitecore.DataExchange.Processors.PipelineSteps; | |
/// <summary> | |
/// The create some items. | |
/// </summary> | |
public class CreateSomeItems : BasePipelineStepProcessor | |
{ | |
/// <summary> | |
/// The process. | |
/// </summary> | |
/// <param name="pipelineStep"> | |
/// The pipeline step. | |
/// </param> | |
/// <param name="pipelineContext"> | |
/// The pipeline context. | |
/// </param> | |
public override void Process(PipelineStep pipelineStep, PipelineContext pipelineContext) | |
{ | |
var exampleSettings = pipelineStep.GetPlugin<ExampleSettings>(); | |
if (exampleSettings != null) | |
{ | |
pipelineContext.PipelineBatchContext.Logger.Info( | |
"Hello world! Create some items here..." + exampleSettings.CreatePath); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment