public interface URLSelectorStrategy
Modifier and Type | Method and Description |
---|---|
String |
active()
Get the active URL
|
void |
fail(String url)
Fail an URL - e.g.
|
String |
getData()
Get the data for an error presentation
|
boolean |
hasMore()
Does the plugin has more valid URLs ?
|
void |
init(List<String> urls)
Init the plugin with the URLs
|
void |
reset()
Reset the plugin
|
default void |
success(String url)
URL was accepted - potentially mark it as active
|
boolean hasMore()
String active()
void fail(String url)
url
- The URLdefault void success(String url)
url
- void reset()
String getData()
Copyright © 2021 JBoss by Red Hat. All rights reserved.