Lines Matching defs:OneTimeWorkRequest
33 public final class OneTimeWorkRequest extends WorkRequest {
36 * Creates an array of {@link OneTimeWorkRequest} with defaults from an array of
40 * @return A list of {@link OneTimeWorkRequest} constructed by using defaults in the
43 @SafeVarargs public static @NonNull List<OneTimeWorkRequest> from(
49 * Creates a list of {@link OneTimeWorkRequest} with defaults from an array of {@link Worker}
53 * @return A list of {@link OneTimeWorkRequest} constructed by using defaults in the {@link
56 public static @NonNull List<OneTimeWorkRequest> from(
58 List<OneTimeWorkRequest> workList = new ArrayList<>(workerClasses.size());
60 workList.add(new OneTimeWorkRequest.Builder(workerClass).build());
65 OneTimeWorkRequest(Builder builder) {
70 * Builder for {@link OneTimeWorkRequest} class.
72 public static final class Builder extends WorkRequest.Builder<Builder, OneTimeWorkRequest> {
80 * Add an initial delay to the {@link OneTimeWorkRequest}.
92 * Add an initial delay to the {@link OneTimeWorkRequest}.
104 * Specify the {@link InputMerger} class name for this {@link OneTimeWorkRequest}. An
110 * {@link OneTimeWorkRequest}
120 public OneTimeWorkRequest build() {
127 return new OneTimeWorkRequest(this);