agave-jobs/jobs-core/src/test/java/org/iplantc/service/jobs/managers/JobRequestInputProcessorIT.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, Object defaultValue, String validator, boolean required, boolean visible)
    {
        SoftwareInput input = new SoftwareInput();
        input.setKey(key);
        input.setDefaultValue(defaultValue == null ? null : defaultValue.toString());
        input.setRequired(required);
        input.setVisible(visible);
        input.setValidator(validator);
        return input;
    }
private SoftwareInput createInput ( String key , Object defaultValue , String validator , boolean required , boolean visible ) { SoftwareInput input = new SoftwareInput ( ) ; input . setKey ( key ) ; input . setDefaultValue ( defaultValue == null ? null : defaultValue . toString ( ) ) ; input . setRequired ( required ) ; input . setVisible ( visible ) ; input . setValidator ( validator ) ; return input ; }
Creates a {@link SoftwareInput} with teh given constraints, validator, etc.
Creates a { @link SoftwareInput } with teh given constraints validator etc .