Package org.apache.camel.catalog
Class LanguageValidationResult
- java.lang.Object
-
- org.apache.camel.catalog.LanguageValidationResult
-
- All Implemented Interfaces:
Serializable
public class LanguageValidationResult extends Object implements Serializable
Validation result of parsing a language expression or predicate- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LanguageValidationResult(String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetError()intgetIndex()StringgetShortError()StringgetText()booleanisSuccess()voidsetError(String error)voidsetIndex(int index)voidsetShortError(String shortError)
-
-
-
Constructor Detail
-
LanguageValidationResult
public LanguageValidationResult(String text)
-
-
Method Detail
-
getText
public String getText()
-
isSuccess
public boolean isSuccess()
-
setError
public void setError(String error)
-
getError
public String getError()
-
getShortError
public String getShortError()
-
setShortError
public void setShortError(String shortError)
-
getIndex
public int getIndex()
-
setIndex
public void setIndex(int index)
-
-