public IStageBuilder AddStage(string id, StageTriggerMode triggerMode) { var stageBuilder = new StageBuilder(this, id, triggerMode); _stageBuilders.Add(stageBuilder); return(stageBuilder); }
public Stage(UniqueStageId stageId, StageTriggerMode triggerMode, params Activity[] activities) { _stageId = stageId; _activities = activities; _state = triggerMode == StageTriggerMode.Automatic ? StageState.NotStarted : StageState.OnHold; }
public IStageBuilder AddStage(StageTriggerMode triggerMode) { _counter++; return(AddStage(_counter.ToString(), triggerMode)); }
public IStageBuilder AddStage(string id, StageTriggerMode triggerMode) { return(_parent.AddStage(id, triggerMode)); }
public IStageBuilder AddStage(StageTriggerMode triggerMode) { return(_parent.AddStage(triggerMode)); }
public StageBuilder(PipelineBuilder parent, string id, StageTriggerMode triggerMode) { _parent = parent; _id = id; _triggerMode = triggerMode; }
public Stage(string stageName, StageTriggerMode triggerMode) { Name = stageName; TriggerMode = triggerMode; LastActivityDateUtc = DateTime.UtcNow; }