comparison Core/JobsEngine/SetOfInstancesJob.cpp @ 2812:ea7aea6f6a95

improved naming of methods in IJob
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Sep 2018 16:23:40 +0200
parents 33de4a82c466
children ff0ed5ea9e4e
comparison
equal deleted inserted replaced
2811:7cfc8d266f41 2812:ea7aea6f6a95
84 permissive_ = permissive; 84 permissive_ = permissive;
85 } 85 }
86 } 86 }
87 87
88 88
89 void SetOfInstancesJob::SignalResubmit() 89 void SetOfInstancesJob::Reset()
90 { 90 {
91 if (started_) 91 if (started_)
92 { 92 {
93 position_ = 0; 93 position_ = 0;
94 failedInstances_.clear(); 94 failedInstances_.clear();
125 return instances_[index]; 125 return instances_[index];
126 } 126 }
127 } 127 }
128 128
129 129
130 JobStepResult SetOfInstancesJob::ExecuteStep() 130 JobStepResult SetOfInstancesJob::Step()
131 { 131 {
132 if (!started_) 132 if (!started_)
133 { 133 {
134 throw OrthancException(ErrorCode_InternalError); 134 throw OrthancException(ErrorCode_InternalError);
135 } 135 }