@Test void parseOptionsShouldReturnTrueWhenTrust() { assertThat(RecomputeMailboxCountersRequestToTask.parseOptions(Optional.of("true"))) .isEqualTo(Options.trustMessageProjection()); }
private static Options parseOptions(Request request) { Optional<String> stringValue = Optional.ofNullable(request.queryParams(TRUST_PARAM)); return parseOptions(stringValue); }
RecomputeMailboxCountersRequestToTask extends TaskFromRequestRegistry.TaskRegistration { private static Options parseOptions(Request request) { Optional<String> stringValue = Optional.ofNullable(request.queryParams(TRUST_PARAM)); return parseOptions(stringValue); } }
RecomputeMailboxCountersRequestToTask extends TaskFromRequestRegistry.TaskRegistration { private static Options parseOptions(Request request) { Optional<String> stringValue = Optional.ofNullable(request.queryParams(TRUST_PARAM)); return parseOptions(stringValue); } @Inject  RecomputeMailboxCountersRequestToTask(RecomputeMailboxCountersService service); }
RecomputeMailboxCountersRequestToTask extends TaskFromRequestRegistry.TaskRegistration { private static Options parseOptions(Request request) { Optional<String> stringValue = Optional.ofNullable(request.queryParams(TRUST_PARAM)); return parseOptions(stringValue); } @Inject  RecomputeMailboxCountersRequestToTask(RecomputeMailboxCountersService service);  }
RecomputeMailboxCountersRequestToTask extends TaskFromRequestRegistry.TaskRegistration { private static Options parseOptions(Request request) { Optional<String> stringValue = Optional.ofNullable(request.queryParams(TRUST_PARAM)); return parseOptions(stringValue); } @Inject  RecomputeMailboxCountersRequestToTask(RecomputeMailboxCountersService service);   }