// NewStepContext Create a new step execution context
NewStepContext Create a new step execution context
// NewStepContext Create a new step execution context
func NewStepContext(wc *WorkflowContext, c *v1.Change) *StepContext {
	nextStepSelector := wc.Workflow.IncrementStepSelector(c.StepSelector)
	return &StepContext{
		WorkflowContext:  wc,
		Change:           c,
		Step:             wc.Workflow.Select(c.StepSelector),
		StepSelector:     c.StepSelector,
		NextStep:         wc.Workflow.Select(nextStepSelector),
		NextStepSelector: nextStepSelector,
	}
}
func NewStepContext ( wc * WorkflowContext , c * v1 . Change ) * StepContext { nextStepSelector := wc . Workflow . IncrementStepSelector ( c . StepSelector ) return & StepContext { WorkflowContext : wc , Change : c , Step : wc . Workflow . Select ( c . StepSelector ) , StepSelector : c . StepSelector , NextStep : wc . Workflow . Select ( nextStepSelector ) , NextStepSelector : nextStepSelector , } }
NewStepContext Create a new step execution context
NewStepContext Create a new step execution context