Package burp.api.montoya.ui.contextmenu
Interface InvocationSource
-
- All Known Subinterfaces:
ContextMenuEvent
public interface InvocationSourceThis interface provides information about the source from which a context menu was invoked.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InvocationTypeinvocationType()booleanisFrom(InvocationType... invocationType)A helper method to allow the extension to ask if the context is within a set of locations.
-
-
-
Method Detail
-
invocationType
InvocationType invocationType()
- Returns:
- An instance of
InvocationTypewhich provides the current location of the context menu being invoked.
-
isFrom
boolean isFrom(InvocationType... invocationType)
A helper method to allow the extension to ask if the context is within a set of locations.- Parameters:
invocationType- One or more instances ofInvocationTypeto check.- Returns:
- True if the context menu is being invoked from one of the types that is being checked.
-
-