protected void addJob(String name, boolean incrementable, boolean restartable) {
		Collection<String> jobNames = this.getJobNames();
		// XD admin server will prevent any REST client requests create a job definition with an existing name.
		// The container could handle the deployment of mutilple job modules with the same name in the following
		// scenarios:
		// 1) There could be multiple deployments of job modules (of the *same* job definition) inside a single
		// or multiple containers.
		// 2) The container that had the job module deployed crashes(without graceful shutdown), thereby
		// leaving the batch job entry in {@link DistributedJobLocator}. Had the container been shutdown gracefully,
		// then the destroy life-cycle method on batch job will take care deleting the job name entry from
		// {@link DistributedJobLocator}
		// Since, it is the same job with the given name, we can skip the update into {@link DistributedJobLocator}
		if (!jobNames.contains(name)) {
			addJobName(name, incrementable, restartable);
		}
		else {
			updateJobName(name, incrementable, restartable);
		}
	}
Store the job name , job parameterer incrementable and job restartable
flags for the job when there is a registry update

@param name the job name to add
@param incrementable flag to specify if the job parameter is incrementable
@param restartable flag to specify if the job is restartable
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/plugins/job/DistributedJobLocator.java