public class ProcessingResultSuccess extends AProcessingResult implements IProcessingResultSuccess
Constructor and Description |
---|
ProcessingResultSuccess(boolean success) |
ProcessingResultSuccess(String errorCode,
String errorMessage) |
ProcessingResultSuccess(String errorCode,
Throwable error) |
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode() |
String |
getErrorMessage() |
String |
getPlaceholderValue(int index,
String key)
|
int |
getValuesCount() |
void |
setErrorCode(String errorCode) |
void |
setErrorMessage(String errorMessage) |
getSessionAttributeMap, getSuccessValue, setSessionAttributeMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSessionAttributeMap, getSuccessValue
public String getPlaceholderValue(int index, String key)
IProcessingResult
List
of Map
s. This return the value at a given index and
key.getPlaceholderValue
in interface IProcessingResult
index
- Index at which to retrieve the processing result value.key
- Key at which to retrieve the processing result value.public int getValuesCount()
getValuesCount
in interface IProcessingResult
public String getErrorCode()
getErrorCode
in interface IProcessingResult
public void setErrorCode(String errorCode)
errorCode
- the errorCode to setpublic String getErrorMessage()
getErrorMessage
in interface IProcessingResult
public void setErrorMessage(String errorMessage)
errorMessage
- the errorMessage to setCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.