コード例 #1
0
        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));
        }
コード例 #2
0
        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);
            }
        }
コード例 #3
0
 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);
     }
 }
コード例 #4
0
 public PipelineCheckExistAction(Pipeline pipeline, XmlNode node)
     : base(pipeline, node)
 {
     keySource  = KeySource.Parse(node.ReadStr("@keysource"));
     dateSource = KeySource.Parse(node.ReadStr("@datesource", null));
 }