Running a pipeline via the Java API