Interface URLSelectorStrategy

    • Method Detail

      • init

        void init​(List<String> urls)
        Init the plugin with the URLs
        Parameters:
        urls - The URLs
      • hasMore

        boolean hasMore()
        Does the plugin has more valid URLs ?
        Returns:
        True, if more are available, otherwise false
      • active

        String active()
        Get the active URL
        Returns:
        The value
      • fail

        void fail​(String url)
        Fail an URL - e.g. mark it as bad
        Parameters:
        url - The URL
      • success

        default void success​(String url)
        URL was accepted - potentially mark it as active
        Parameters:
        url -
      • reset

        void reset()
        Reset the plugin
      • getData

        String getData()
        Get the data for an error presentation
        Returns:
        The value