private void addConstructorArg(Element bean, String attributeName, String argName) {
			Element ctorArgElement = doc.createElement("constructor-arg");
			ctorArgElement.setAttribute(attributeName, argName);
			bean.appendChild(ctorArgElement);
		}
Create a &lt;end on=&gt; attribute and attach it to the supplied step element.
@param step the step that will get the new attribute
@param jobExitStatus the jobExitStatus to fill in as the 'on' attribute value field
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/job/dsl/JobSpecification.java