Package com.adobe.aemds.guide.common
Class GuideError
- java.lang.Object
-
- com.adobe.aemds.guide.common.GuideError
-
public class GuideError extends java.lang.Object
Guide error class containing the error message and som expression/bindRef of the field with error.- Since:
- AEM 6.1
-
-
Constructor Summary
Constructors Constructor Description GuideError()
GuideError(java.lang.String somExpression, java.lang.String errorMessage)
GuideError(java.lang.String somExpression, java.util.List<java.lang.String> errorMessages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBindRef()
java.lang.String
getErrorMessage()
java.util.List<java.lang.String>
getErrorMessages()
Return list of error messages.java.lang.String
getSomExpression()
void
setBindRef(java.lang.String bindRef)
void
setErrorMessage(java.lang.String errorMessage)
void
setErrorMessages(java.util.List<java.lang.String> errorMessages)
void
setSomExpression(java.lang.String somExpression)
-
-
-
Method Detail
-
getErrorMessage
public java.lang.String getErrorMessage()
-
setErrorMessage
public void setErrorMessage(java.lang.String errorMessage)
-
getSomExpression
public java.lang.String getSomExpression()
-
setSomExpression
public void setSomExpression(java.lang.String somExpression)
-
getBindRef
public java.lang.String getBindRef()
-
setBindRef
public void setBindRef(java.lang.String bindRef)
-
getErrorMessages
public java.util.List<java.lang.String> getErrorMessages()
Return list of error messages.- Returns:
-
setErrorMessages
public void setErrorMessages(java.util.List<java.lang.String> errorMessages)
-
-