package noop.bramble;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;

import bramble.networking.data.JobMetadata;
import bramble.networking.data.JobSetupData;
import bramble.node.controller.IControllerNodeRunner;

public class ControllerNodeRunner implements IControllerNodeRunner {

	/**
	 * Defines a job based on it's job number.
	 */
	@Override
	public JobSetupData getJobSetupData(JobMetadata jobMetadata) {
		
		Collection<Serializable> setupData = new ArrayList<>();
		setupData.add(jobMetadata);

		JobSetupData data = new JobSetupData(jobMetadata, setupData);

		return data;

	}

	/**
	 * Gets the job numbers of all the jobs that need to be performed.
	 * 
	 * @return an arraylist containing the job metadata of all the jobs that need to be performed
	 */
	@Override
	public ArrayList<JobMetadata> getAllJobNumbers() {
		ArrayList<JobMetadata> allJobs = new ArrayList<>();
		for(int i = 999999; i>=0; i--){
			allJobs.add(new JobMetadata(i));
		}
		return allJobs;
	}

}

@@ -773,34 +773,8 @@
 jobs
- that need to be performed
 %0A%09 *

Fix checkstyle