Interface InstrumentationRule
-
- All Known Implementing Classes:
ActionRule
,ResourceRule
,SetBasedInstrumentationRule
,UserActionRule
public interface InstrumentationRule
A common interface for instrumentation rules. The name can be used for visualization and need not be unique.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
affects(Instrumentable instrumentable)
Returns if anInstrumentable
would be probed if it comes to injection of the instrumentation.String
getName()
void
setName(String name)
-
-
-
Method Detail
-
getName
String getName()
-
setName
void setName(String name)
-
affects
boolean affects(Instrumentable instrumentable)
Returns if anInstrumentable
would be probed if it comes to injection of the instrumentation.- Parameters:
instrumentable
- anInstrumentable
to be checked- Returns:
true
, if the instrumentable will be probed orfalse
otherwise
-
-