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

            this.su    = su;
            this.files = j.files;
        }
Example #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);
 }
Example #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));
        }
Example #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));
        }
Example #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;
        }
Example #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));
        }