public class ActionResult extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HOST_VERIFY_checkIPAddresses |
| Constructor and Description |
|---|
ActionResult()
Default constructor for ActionResult.
|
ActionResult(ActionStatusCode statusCode, String statusDetail)
Construct ActionResult object.
|
ActionResult(ActionStatusCode statusCode, String statusDetail, oracle.fmwplatform.envspec.model.targets.ModelTarget target)
Construct ActionResult object.
|
| Modifier and Type | Method and Description |
|---|---|
ActionResult |
addActionResult(ActionResult actionResult)
Adds the actionResult to this actionResult.
|
List<ActionResult> |
getActionResultList()
Return a list of ActionResult outlining the outcome of the action on each component of the target.
|
String |
getAdvancedDetail()
Return advanced detail information that may be useful to someone with technical skills.
|
String |
getMessageId()
Returns the message Id used to compose the Status Detail for this ActionResult.
|
Map<String,String> |
getResultMap()
Get a map that can be used to return data back to the caller.
|
String |
getResultMapValue(String key)
Return the value of an entry in the result map.
|
ActionStatusCode |
getStatusCode()
Get status code.
|
String |
getStatusDetail()
Get a status detail string associated with the status code.
|
oracle.fmwplatform.envspec.model.targets.ModelTarget |
getTarget()
Get the EnvironmentModelTarget object this ActionResult object belongs to.
|
boolean |
isSuccessful()
Return true if the statusCode is a successful one.
|
ActionResult |
setAdvancedDetail(String advancedDetail)
Set advanced detail information that may be useful to someone with technical skills.
|
ActionResult |
setMessageId(String messageId)
Sets the message Id used to compose the Status Detail for this ActionResult.
|
ActionResult |
setResultMap(Map<String,String> returnMap)
Set the map that can be user to return data to the caller.
|
ActionResult |
setResultMapValue(String key, String value)
Set the value of an entry on the result map.
|
ActionResult |
setStatusCode(ActionStatusCode statusCode)
Set the status code for this result.
|
ActionResult |
setStatusDetail(String statusDetail)
Set the status detail.
|
ActionResult |
setTarget(oracle.fmwplatform.envspec.model.targets.ModelTarget target)
Set the EnvironmentModelTarget object this ActionResult object belongs to.
|
String |
toString() |
public static final String HOST_VERIFY_checkIPAddresses
public ActionResult()
public ActionResult(ActionStatusCode statusCode, String statusDetail)
statusCode - ActionStatusCode that indicates the outcome of the actionstatusDetail - This message provide more details about the outcomepublic ActionResult(ActionStatusCode statusCode, String statusDetail, oracle.fmwplatform.envspec.model.targets.ModelTarget target)
statusCode - ActionStatusCode that indicates the outcome of the actionstatusDetail - This message provide more details about the outcometarget - EnvironmentModelTarget object on which the action is invokedpublic List<ActionResult> getActionResultList()
ActionResult objectspublic Map<String,String> getResultMap()
public ActionResult setResultMap(Map<String,String> returnMap)
returnMap - the map to be setpublic String getResultMapValue(String key)
key - the key to the entry to be returnedpublic ActionResult setResultMapValue(String key, String value)
key - the key of the entryvalue - the value of the entrypublic ActionStatusCode getStatusCode()
public String getStatusDetail()
public ActionResult setStatusCode(ActionStatusCode statusCode)
statusCode - status code to setpublic ActionResult setStatusDetail(String statusDetail)
statusDetail - statusDetail to setpublic oracle.fmwplatform.envspec.model.targets.ModelTarget getTarget()
public ActionResult setTarget(oracle.fmwplatform.envspec.model.targets.ModelTarget target)
target - target to setpublic String getAdvancedDetail()
public String getMessageId()
public ActionResult setMessageId(String messageId)
messageId - the message Id used to compose the Status Detail for this ActionResultpublic ActionResult setAdvancedDetail(String advancedDetail)
advancedDetail - advanced detailpublic boolean isSuccessful()
public ActionResult addActionResult(ActionResult actionResult)
actionResult - the actionResult to be added to this actionResults list.