agave-jobs/jobs-core/src/test/java/org/iplantc/service/jobs/managers/JobRequestProcessorIT.java
/**
	 * Creates a {@link SoftwareInput} with teh given constraints, validator, etc.
	 * @param key the key of the input
	 * @param defaultValue the default value of the input
	 * @param validator the validator to use on job requests with this input
	 * @param required whether the input is required
	 * @param visible whether the input should be visible
	 * @return a software input with the given constraints
	 */
Creates a  SoftwareInput with teh given constraints, validator, etc.
Creates a SoftwareInput with teh given constraints validator etc .
private SoftwareInput createInput(String key, String defaultValue, String validator, boolean required, boolean visible)
	{
		SoftwareInput input = new SoftwareInput();
		input.setKey(key);
		input.setDefaultValue(defaultValue);
		input.setRequired(required);
		input.setVisible(visible);
		input.setValidator(validator);
		input.setMaxCardinality(-1);
		input.setMinCardinality(required ? 1 : 0);
		return input;
	}
private SoftwareInput createInput ( String key , String defaultValue , String validator , boolean required , boolean visible ) { SoftwareInput input = new SoftwareInput ( ) ; input . setKey ( key ) ; input . setDefaultValue ( defaultValue ) ; input . setRequired ( required ) ; input . setVisible ( visible ) ; input . setValidator ( validator ) ; input . setMaxCardinality ( - 1 ) ; input . setMinCardinality ( required ? 1 : 0 ) ; return input ; }
Creates a {@link SoftwareInput} with teh given constraints, validator, etc.
Creates a { @link SoftwareInput } with teh given constraints validator etc .