public class AsyncNotificationResults extends NotificationResults
Constructor and Description |
---|
AsyncNotificationResults(java.lang.String notificationName,
boolean returnValue,
java.lang.Object errorInfo)
To construct the object, specify the notification node name, return
value, and any relevent error information.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getType() |
getErrorInfo, getNotificationName, getReturnValue, hadError, setErrorInfo, setHadError, toString
public AsyncNotificationResults(java.lang.String notificationName, boolean returnValue, java.lang.Object errorInfo)
hadError()
value is set by the setHadError()
method. It is defaulted
to false
.notificationName
- the String that represents the fully qualified
name of your notification node. It must be in the format of
folder:notificationNodeName. It may not be null.returnValue
- the boolean
value indicating a return status.errorInfo
- the object containing error information to associate with a
failed execution. It may be null.public java.lang.String getType()
getType
in class NotificationResults
Copyright © 2003 - 2021 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.