Home | History | Annotate | Download | only in model

Lines Matching refs:workSpec

56 public class WorkSpec {
57 private static final String TAG = "WorkSpec";
120 public WorkSpec(@NonNull String id, @NonNull String workerClassName) {
193 * Calculates the UTC time at which this {@link WorkSpec} should be allowed to run.
215 * @return UTC time at which this {@link WorkSpec} should be allowed to run.
231 * @return <code>true</code> if the {@link WorkSpec} has constraints.
242 WorkSpec workSpec = (WorkSpec) o;
244 if (initialDelay != workSpec.initialDelay) return false;
245 if (intervalDuration != workSpec.intervalDuration) return false;
246 if (flexDuration != workSpec.flexDuration) return false;
247 if (runAttemptCount != workSpec.runAttemptCount) return false;
248 if (backoffDelayDuration != workSpec.backoffDelayDuration) return false;
249 if (periodStartTime != workSpec.periodStartTime) return false;
250 if (minimumRetentionDuration != workSpec.minimumRetentionDuration) return false;
251 if (scheduleRequestedAt != workSpec.scheduleRequestedAt) return false;
252 if (!id.equals(workSpec.id)) return false;
253 if (state != workSpec.state) return false;
254 if (!workerClassName.equals(workSpec.workerClassName)) return false;
256 workSpec.inputMergerClassName)
257 : workSpec.inputMergerClassName != null) {
260 if (!input.equals(workSpec.input)) return false;
261 if (!output.equals(workSpec.output)) return false;
262 if (!constraints.equals(workSpec.constraints)) return false;
263 return backoffPolicy == workSpec.backoffPolicy;
289 return "{WorkSpec: " + id + "}";
293 * A POJO containing the ID and state of a WorkSpec.
323 * A POJO containing the ID, state, output, and tags of a WorkSpec.