Package com.dnanexus

Class InputParameter


  • public class InputParameter
    extends Object
    An input parameter for an executable.
    • 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 created
        parameterClass - 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