public class URLXASelector extends Object implements URLXASelectorStrategy
Constructor and Description |
---|
URLXASelector()
Constructor
|
Modifier and Type | Method and Description |
---|---|
XAData |
active()
Get the active XAData entry
|
void |
fail(XAData xd)
Fail a XAData entry - e.g.
|
String |
getData()
Get the data for an error presentation
|
boolean |
hasMore()
Does the plugin has more valid XAData entries ?
|
void |
init(List<XAData> data)
Init the plugin with the XAData entries
|
void |
reset()
Reset the plugin
|
String |
toString() |
public void init(List<XAData> data)
init
in interface URLXASelectorStrategy
data
- The valuepublic boolean hasMore()
hasMore
in interface URLXASelectorStrategy
public XAData active()
active
in interface URLXASelectorStrategy
public void fail(XAData xd)
fail
in interface URLXASelectorStrategy
xd
- The valuepublic void reset()
reset
in interface URLXASelectorStrategy
public String getData()
getData
in interface URLXASelectorStrategy
Copyright © 2021 JBoss by Red Hat. All rights reserved.