Package ghidra.app.util.headless
Enum HeadlessScript.HeadlessContinuationOption
- java.lang.Object
-
- java.lang.Enum<HeadlessScript.HeadlessContinuationOption>
-
- ghidra.app.util.headless.HeadlessScript.HeadlessContinuationOption
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HeadlessScript.HeadlessContinuationOption>
- Enclosing class:
- HeadlessScript
public static enum HeadlessScript.HeadlessContinuationOption extends java.lang.Enum<HeadlessScript.HeadlessContinuationOption>
Options for controlling disposition of program after the current script completes.
-
-
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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HeadlessScript.HeadlessContinuationOption
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HeadlessScript.HeadlessContinuationOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTINUE
public static final HeadlessScript.HeadlessContinuationOption CONTINUE
Continue running scripts and/or analysis; -import and -process modes complete normally.
-
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 namejava.lang.NullPointerException
- if the argument is null
-
-