agave-jobs/jobs-core/src/test/java/org/iplantc/service/jobs/managers/JobRequestProcessorIT.java
/**
	 * Adds or updates a value in a Restlet request form.
	 * 
	 * @param jobRequestMap the request form submission map
	 * @param field the field to add to the map
	 * @param value the value of the field being added
	 * @return the updated request map
	 */
Adds or updates a value in a Restlet request form.

@param jobRequestMap the request form submission map
@param field the field to add to the map
@param value the value of the field being added
@return the updated request map
Adds or updates a value in a Restlet request form . @param jobRequestMap the request form submission map @param field the field to add to the map @param value the value of the field being added @return the updated request map
private Map<String, Object> updateJobRequestMap(Map<String, Object> jobRequestMap, String field, Object value) 
	{
		if (value == null) {
		    jobRequestMap.put(field, null);
		}
		else if (value instanceof String) {
		    jobRequestMap.put(field, value);
		}
		else
		{
		    jobRequestMap.put(field, ObjectUtils.toString(value));
		}
		return jobRequestMap;
	}
private Map < String , Object > updateJobRequestMap ( Map < String , Object > jobRequestMap , String field , Object value ) { if ( value == null ) { jobRequestMap . put ( field , null ) ; } else if ( value instanceof String ) { jobRequestMap . put ( field , value ) ; } else { jobRequestMap . put ( field , ObjectUtils . toString ( value ) ) ; } return jobRequestMap ; }
Adds or updates a value in a Restlet request form.
Adds or updates a value in a Restlet request form .