code: public void bootstrap(String className, Closure rootSpec) {
          assertNonNull("className", className);
          assertNonNull("rootSpec", rootSpec);
          changeStatus(NOT_STARTED, RUNNING);
  
          enterRootSpec(className);
          processSpec(rootSpec);
          exitSpec();
  
          changeStatus(RUNNING, FINISHED);
      }
docs: control flow