@Retention(value=CLASS)
@Target(value={CONSTRUCTOR,METHOD})
public @interface DebugEnabledResponse
DebugEnabledCheck
,
Specifying Sources and
ActionsModifier and Type | Required Element and Description |
---|---|
java.lang.String |
source
The source that indicates the application is enabled for debugging.
|
Modifier and Type | Optional Element and Description |
---|---|
float |
probability
The probability that the response (exit, hang, etc) will take place.
|
ResponseType |
response
The response to be taken when the application is the check returns true.
|
InjectionPoint |
where
The location in the method where instrumentation will take place.
|
public abstract java.lang.String source
boolean
, with true
indicating debugging
is enabled in the application.public abstract ResponseType response
ResponseType.None
,
ResponseType.Exit
,
ResponseType.Hang
,
ResponseType.Error
,
ResponseType.Exception
public abstract float probability
true
. Expecting a decimal percentage between 0.0 and 1.0.public abstract InjectionPoint where
Copyright © 2018 PreEmptive Solutions, LLC. All Rights Reserved.