Package com.pnfsoftware.jeb.core.actions
Class ActionXrefsData
java.lang.Object
com.pnfsoftware.jeb.core.actions.ActionData
com.pnfsoftware.jeb.core.actions.ActionXrefsData
- All Implemented Interfaces:
IActionData
This action class holds information for to the
Actions.QUERY_XREFS
action.-
Field Summary
Fields inherited from class com.pnfsoftware.jeb.core.actions.ActionData
ERRCODE_UNKNOWN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the list of addresses.Get a list of optional details, associated to the list of returned addresses.int
Retrieve the optional cap for the number of references that the plugin should return.Get a list of optional details, associated to the list of returned addresses.void
setAddresses
(List<String> addresses) Set the list of addresses.void
setDetails
(List<String> details) Set the list of detail strings.void
setHintMaxResults
(int hintMaxResults) Set an optional cap for the number of references that the plugin should return.void
Can be used by the client or plugin.void
setUserAddresses
(List<String> userAddresses) Set the list of user-friendly addresses.Methods inherited from class com.pnfsoftware.jeb.core.actions.ActionData
canReuseObject, getDescription, getExecutionErrorCode, getExecutionErrorMessage, getValue, isNoInfoRequest, reset, setDescription, setExecutionError, setExecutionErrorCode, setExecutionErrorMessage, setValue
-
Constructor Details
-
ActionXrefsData
public ActionXrefsData()
-
-
Method Details
-
setHintMaxResults
public void setHintMaxResults(int hintMaxResults) Set an optional cap for the number of references that the plugin should return. This method is used by clients.- Parameters:
hintMaxResults
- hint, may be set to 0 or negative to mean that no-cap
-
getHintMaxResults
public int getHintMaxResults()Retrieve the optional cap for the number of references that the plugin should return. This method is used by plugins.- Returns:
- cap hint, may be set to 0 or negative to mean that no-cap
-
getTarget
- Returns:
-
setTarget
Can be used by the client or plugin. If the client leaves it to null, it is up to the plugin to determine the wanted target address, and fill up this field. If the client provides it, the plugin must use it.- Parameters:
target
-
-
getAddresses
Get the list of addresses. This method is used by clients.- Returns:
- a list of addresses
-
setAddresses
Set the list of addresses. This method is used by plugins.- Parameters:
addresses
- list of addresses
-
getDetails
Get a list of optional details, associated to the list of returned addresses. This method is used by clients. If non-null, must contain the same number of entries asgetAddresses()
.- Returns:
- if non-null, the length must be the same as the list of addresses; the individual elements may be null
-
setDetails
Set the list of detail strings. This method is used by plugins.- Parameters:
details
-
-
getUserAddresses
Get a list of optional details, associated to the list of returned addresses. This method is used by clients. If non-null, must contain the same number of entries asgetAddresses()
.- Returns:
- an optional list of user addresses
-
setUserAddresses
Set the list of user-friendly addresses. This method is used by plugins.- Parameters:
userAddresses
-
-