示例#1
0
        void IJobProcessor.setup(Job job, StatusUpdate su)
        {
            CleanupJob j = (CleanupJob)job;

            this.su    = su;
            this.files = j.files;
        }
示例#2
0
 public static JobChain AddAfter(JobChain other, string type, List<string> files)
 {
     CleanupJob j = new CleanupJob();
     j.files = files;
     j.type = type;
     return new SequentialChain(other, j);
 }
示例#3
0
        public static JobChain AddAfter(JobChain other, string type, List <string> files)
        {
            CleanupJob j = new CleanupJob();

            j.files = files;
            j.type  = type;
            return(new SequentialChain(other, j));
        }
示例#4
0
        public static JobChain AddAfter(JobChain other, List <string> files, string strInput)
        {
            CleanupJob j = new CleanupJob();

            j.FilesToDelete.AddRange(files);
            j.Input = strInput;
            return(new SequentialChain(other, j));
        }
示例#5
0
        void IJobProcessor.setup(Job job, StatusUpdate su, LogItem log)
        {
            CleanupJob j = (CleanupJob)job;

            this.log   = log;
            this.su    = su;
            this.files = j.files;
        }
示例#6
0
        public static JobChain AddAfter(JobChain other, List <string> files, string strInput)
        {
            CleanupJob j = new CleanupJob();

            j.files = files;
            j.Input = strInput;
            return(new SequentialChain(other, j));
        }