code: public AbstractJobVertex[] getAllJobVertices() {
  
  		int i = 0;
  		final AbstractJobVertex[] vertices = new AbstractJobVertex[inputVertices.size() + outputVertices.size()
  			+ taskVertices.size()];
  
  		final Iterator<AbstractJobInputVertex> iv = getInputVertices();
  		while (iv.hasNext()) {
  			vertices[i++] = iv.next();
  		}
  
  		final Iterator<AbstractJobOutputVertex> ov = getOutputVertices();
  		while (ov.hasNext()) {
  			vertices[i++] = ov.next();
  		}
  
  		final Iterator<JobTaskVertex> tv = getTaskVertices();
  		while (tv.hasNext()) {
  			vertices[i++] = tv.next();
  		}
  
  		return vertices;
  	}
docs: Returns an array of all job vertices that are registered with the job graph. The order in which the vertices
  appear in the list is not defined.
  
  @return an array of all job vertices that are registered with the job graph