use of org.apache.airavata.model.application.io.InputDataObjectType in project airavata by apache.
the class ApplicationRegister method createAppInput.
protected InputDataObjectType createAppInput(String inputName, String value, DataType type, String applicationArgument, int order, boolean isRequired, boolean requiredToCMD, boolean stdIn, String description, String metadata) {
InputDataObjectType input = new InputDataObjectType();
if (inputName != null)
input.setName(inputName);
if (value != null)
input.setValue(value);
if (type != null)
input.setType(type);
if (applicationArgument != null)
input.setApplicationArgument(applicationArgument);
input.setInputOrder(order);
input.setIsRequired(isRequired);
input.setRequiredToAddedToCommandLine(requiredToCMD);
if (description != null)
input.setUserFriendlyDescription(description);
input.setStandardInput(stdIn);
if (metadata != null)
input.setMetaData(metadata);
return input;
}
Aggregations