|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ImportFault
Represents an import fault.
| Field Summary | |
|---|---|
static int |
ERROR
The error level. |
static int |
WARNING
The warning level. |
| Method Summary | |
|---|---|
java.lang.Object[] |
getArgs()
Returns the arguments for fault code. |
java.lang.String |
getCode()
Returns the fault code. |
int |
getLevel()
Returns the level. |
java.lang.Exception |
getSource()
Returns the fault source. |
boolean |
isError()
Returns true if the fault is an error. |
boolean |
isWarning()
Returns true if the fault is a warning. |
void |
setArgs(java.lang.Object[] args)
Sets the arguments for fault code. |
void |
setCode(java.lang.String code)
Sets the fault code. |
void |
setLevel(int level)
Sets the level. |
void |
setSource(java.lang.Exception source)
Sets the fault source. |
| Methods inherited from interface com.elasticpath.domain.EpDomain |
|---|
getElasticPath, setElasticPath |
| Field Detail |
|---|
static final int ERROR
static final int WARNING
| Method Detail |
|---|
java.lang.Object[] getArgs()
java.lang.String getCode()
int getLevel()
java.lang.Exception getSource()
boolean isError()
true if the fault is an error.
true if the fault is an errorboolean isWarning()
true if the fault is a warning.
true if the fault is a warningvoid setArgs(java.lang.Object[] args)
args - the argumentsvoid setCode(java.lang.String code)
code - the fault code to setvoid setLevel(int level)
level - the level to setvoid setSource(java.lang.Exception source)
source - the fault source to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||