Enum HeadlessScript.HeadlessContinuationOption

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ABORT
      Abort any scripts or analysis that come after this script; -import mode does save program (but it may not be processed completely), -process mode completes normally, minus scripts or analysis that runs after the ABORT request.
      ABORT_AND_DELETE
      Abort any scripts or analysis that come after this script; -import mode does not save program, -process mode deletes program.
      CONTINUE
      Continue running scripts and/or analysis; -import and -process modes complete normally.
      CONTINUE_THEN_DELETE
      Continue running scripts and/or analysis; -import mode does not save program, -process mode deletes program.
    • Enum Constant Detail

      • CONTINUE_THEN_DELETE

        public static final HeadlessScript.HeadlessContinuationOption CONTINUE_THEN_DELETE
        Continue running scripts and/or analysis; -import mode does not save program, -process mode deletes program.
      • ABORT_AND_DELETE

        public static final HeadlessScript.HeadlessContinuationOption ABORT_AND_DELETE
        Abort any scripts or analysis that come after this script; -import mode does not save program, -process mode deletes program.
      • ABORT

        public static final HeadlessScript.HeadlessContinuationOption ABORT
        Abort any scripts or analysis that come after this script; -import mode does save program (but it may not be processed completely), -process mode completes normally, minus scripts or analysis that runs after the ABORT request.
    • Method Detail

      • values

        public static HeadlessScript.HeadlessContinuationOption[] 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 (HeadlessScript.HeadlessContinuationOption c : HeadlessScript.HeadlessContinuationOption.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static HeadlessScript.HeadlessContinuationOption valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null