Package org.pitest.mutationtest.build
Enum InterceptorType
- java.lang.Object
-
- java.lang.Enum<InterceptorType>
-
- org.pitest.mutationtest.build.InterceptorType
-
- All Implemented Interfaces:
Serializable,Comparable<InterceptorType>
public enum InterceptorType extends Enum<InterceptorType>
Used to group interceptors. Running order of groups is guaranteed (by order within group is not). The name indicates the intended typees of behaviour - but this is not enforced. OTHER - MODIFY - Modify mutants in a way that is functionally significant (e.g mark as poisoning JVM) PRE_SCAN_FILTER - Remove mutants from processing, in prescan and main scan FILTER - Remove mutants from processing MODIFY_COSMETIC - Modify mutants in way that will not affect processing (e.g update descriptions) REPORT - Output mutant in their final state
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILTERMODIFYMODIFY_COSMETICOTHERPRE_SCAN_FILTERREPORT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanincludeInPrescan()static InterceptorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static InterceptorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OTHER
public static final InterceptorType OTHER
-
MODIFY
public static final InterceptorType MODIFY
-
PRE_SCAN_FILTER
public static final InterceptorType PRE_SCAN_FILTER
-
FILTER
public static final InterceptorType FILTER
-
MODIFY_COSMETIC
public static final InterceptorType MODIFY_COSMETIC
-
REPORT
public static final InterceptorType REPORT
-
-
Method Detail
-
values
public static InterceptorType[] 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 (InterceptorType c : InterceptorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InterceptorType 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 nameNullPointerException- if the argument is null
-
includeInPrescan
public boolean includeInPrescan()
-
-