Interface OnRevisitStatePlugin

  • All Superinterfaces:
    Plugin
    All Known Implementing Classes:
    FragmentationPlugin

    public interface OnRevisitStatePlugin
    extends Plugin
    Plugin type that is called every time a state is revisited by Crawljax. Example: Benchmarking. This plugin needs an explicit current state because the session.getCurrentState() does not contain the correct current state since we are in back-tracking phase.
    • Method Detail

      • onRevisitState

        void onRevisitState​(CrawlerContext context,
                            StateVertex currentState)
        Method that is called every time a state is revisited by Crawljax. Warning: changing the state can influence crawljax, it is not a copy.

        This method can be called from multiple threads with different CrawlerContext

        Parameters:
        context - the crawlSession
        currentState - the state revisited