public class Result extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Result.Type |
| Constructor and Description |
|---|
Result() |
Result(String message) |
Result(String message,
String context,
String code,
String example) |
Result(String message,
String context,
String code,
String example,
Result.Type type) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
int |
getColumn()
Gets the value of the column property.
|
String |
getContext()
Gets the value of the context property.
|
String |
getErrorType()
Gets the value of the errortype property.
|
String |
getExample() |
Integer |
getLevel()
Gets the value of the level property.
|
int |
getLine()
Gets the value of the line property.
|
String |
getMessage()
Gets the value of the message property.
|
Result.Type |
getType() |
void |
setCode(String code) |
void |
setColumn(int value)
Sets the value of the column property.
|
void |
setContext(String value)
Sets the value of the context property.
|
void |
setErrorType(String value)
Sets the value of the errorType property.
|
void |
setExample(String example) |
void |
setLevel(Integer value)
Sets the value of the level property.
|
void |
setLine(int value)
Sets the value of the line property.
|
void |
setMessage(String message) |
void |
setType(Result.Type type) |
public Result()
public Result(String message)
public Result(String message, String context, String code, String example, Result.Type type)
public int getLine()
public void setLine(int value)
value - allowed object is intpublic int getColumn()
public void setColumn(int value)
value - allowed object is intpublic String getContext()
Stringpublic void setContext(String value)
value - allowed object is
Stringpublic String getMessage()
public void setMessage(String message)
public String getErrorType()
Stringpublic void setErrorType(String value)
value - allowed object is
Stringpublic Integer getLevel()
int public void setLevel(Integer value)
value - allowed object is
int public Result.Type getType()
public void setType(Result.Type type)
public String getExample()
public void setExample(String example)
public String getCode()
public void setCode(String code)
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.