Package com.pnfsoftware.jeb.core.actions
Class ActionReplaceData
java.lang.Object
com.pnfsoftware.jeb.core.actions.ActionData
com.pnfsoftware.jeb.core.actions.ActionReplaceData
- All Implemented Interfaces:
IActionData
Action payload for
Actions.REPLACE.-
Field Summary
Fields inherited from class com.pnfsoftware.jeb.core.actions.ActionData
ERRCODE_UNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the object currently targeted for replacement.Get the replacement object requested by the client.voidSet the object currently targeted for replacement.voidsetWantedReplacement(Object repl) Set the replacement object requested by the client.Methods inherited from class com.pnfsoftware.jeb.core.actions.ActionData
canReuseObject, getDescription, getExecutionErrorCode, getExecutionErrorMessage, getValue, isNoInfoRequest, reset, setDescription, setExecutionError, setExecutionErrorCode, setExecutionErrorMessage, setValue
-
Constructor Details
-
ActionReplaceData
public ActionReplaceData()
-
-
Method Details
-
setTargetObject
Set the object currently targeted for replacement.- Parameters:
o- target object
-
getTargetObject
Get the object currently targeted for replacement.- Returns:
- target object
-
setWantedReplacement
Set the replacement object requested by the client.- Parameters:
repl- replacement object
-
getWantedReplacement
Get the replacement object requested by the client.- Returns:
- replacement object
-