Enum Step.DiscardOutput

    • Method Detail

      • values

        public static Step.DiscardOutput[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Step.DiscardOutput c : Step.DiscardOutput.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Step.DiscardOutput valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isCopyResultsToOutput

        public boolean isCopyResultsToOutput()
        Test if result must be copied to output.
        Returns:
        true if result must be copied to output
      • parse

        public static Step.DiscardOutput parse​(String s)
                                        throws EoulsanException
        This method define a parser for the values of the "discardoutput" attribute of the Eoulsan workflow.
        Parameters:
        s - the input string
        Returns:
        a DiscardOutput value
        Throws:
        EoulsanException - if the attribute value is unknown