Package com.dnanexus
Class InputParameter
- java.lang.Object
-
- com.dnanexus.InputParameter
-
public class InputParameter extends Object
An input parameter for an executable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInputParameter.BuilderBuilder class for creating new input parameters.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IOClassgetIOClass()Returns the class of the parameter.StringgetName()Returns the name of the parameter.booleanisOptional()Returns whether the parameter is optional.static InputParameter.BuildernewInputParameter(String name, IOClass parameterClass)Returns a new input parameter builder initialized with the specified input name and class.
-
-
-
Method Detail
-
newInputParameter
public static InputParameter.Builder newInputParameter(String name, IOClass parameterClass)
Returns a new input parameter builder initialized with the specified input name and class.- Parameters:
name- name of the input to be createdparameterClass- class of the input to be created- Returns:
- an input parameter builder
-
getIOClass
public IOClass getIOClass()
Returns the class of the parameter.- Returns:
- class name
-
getName
public String getName()
Returns the name of the parameter.- Returns:
- parameter name
-
isOptional
public boolean isOptional()
Returns whether the parameter is optional.- Returns:
- true if optional
-
-