title: Run a List<CompletableFuture> One After Another
body: <p>So I have an interface <code>SetupTask</code> that has only a single method <code>run()</code> which returns a <code>CompletableFuture</code>. I have a <code>List&lt;SetupTask&gt;</code>. I want to run the first one and when that is complete run the second and when that is complete run the third and so on. Originally I tried <code>CompletableFuture.allOf()</code> but that would run them all in parallel.</p>