public PipelineDeleteAction(Pipeline pipeline, XmlNode node) : base(pipeline, node) { skipUntil = node.ReadStr("@skipuntil"); cond = Condition.OptCreate(node); genericSkipUntil = skipUntil == "*"; keySource = KeySource.Parse(node.ReadStr("@keysource", null)); }
internal PipelineCheckExistAction(PipelineCheckExistAction template, String name, Regex regex) : base(template, name, regex) { String x = optReplace(regex, name, template.keySource.Input); keySource = (x == template.keySource.Input) ? template.keySource : KeySource.Parse(x); if (template.dateSource != null) { x = optReplace(regex, name, template.dateSource.Input); dateSource = (x == template.dateSource.Input) ? template.dateSource : KeySource.Parse(x); } }
internal PipelineDeleteAction(PipelineDeleteAction template, String name, Regex regex) : base(template, name, regex) { skipUntil = optReplace(regex, name, template.skipUntil); genericSkipUntil = this.skipUntil == "*"; if (template.cond != null) { String x = optReplace(regex, name, template.cond.Expression); cond = (x == template.cond.Expression) ? template.cond : Condition.Create(x); } if (template.keySource != null) { String x = optReplace(regex, name, template.keySource.Input); keySource = (x == template.keySource.Input) ? template.keySource : KeySource.Parse(x); } }
public PipelineCheckExistAction(Pipeline pipeline, XmlNode node) : base(pipeline, node) { keySource = KeySource.Parse(node.ReadStr("@keysource")); dateSource = KeySource.Parse(node.ReadStr("@datesource", null)); }