code: @SuppressWarnings("deprecation")
  	@Override
  	public JobGraph getJobGraph(@Nullable JobID jobID) {
  		// temporarily forbid checkpointing for iterative jobs
  		if (isIterative() && checkpointConfig.isCheckpointingEnabled() && !checkpointConfig.isForceCheckpointing()) {
  			throw new UnsupportedOperationException(
  				"Checkpointing is currently not supported by default for iterative jobs, as we cannot guarantee exactly once semantics. "
  					+ "State checkpoints happen normally, but records in-transit during the snapshot will be lost upon failure. "
  					+ "\nThe user can force enable state checkpoints with the reduced guarantees by calling: env.enableCheckpointing(interval,true)");
  		}
  
  		return StreamingJobGraphGenerator.createJobGraph(this, jobID);
  	}
docs: Gets the assembled {@link JobGraph} with a given job id.