|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.icomm.assetplacement.model.ValidationMessage
public class ValidationMessage
This class represents a single result from a validation pass by the Validator class.
Constructor Summary | |
---|---|
ValidationMessage(String messageId,
String message,
boolean isError)
Constructor. |
|
ValidationMessage(String messageId,
String message,
boolean isError,
String filePath,
int lineNum)
Constructor with file and line number. |
Method Summary | |
---|---|
String |
getFilePath()
Retrieve the file path. |
boolean |
getIsError()
Retrieve the severity of this message. |
int |
getLineNum()
Line number within the file relevant to the message, or -1 if not specified or not applicable. |
String |
getMessage()
Retrieve the message. |
String |
getMessageId()
Retrieve the ID of this message. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationMessage(String messageId, String message, boolean isError)
messageId
- message idmessage
- the messageisError
- true if fatal error, false if informativepublic ValidationMessage(String messageId, String message, boolean isError, String filePath, int lineNum)
messageId
- descriptive messagemessage
- the messageisError
- true if fatal error, false if informativefilePath
- full OS path to the affected filelineNum
- line number within that file (-1 if not applicable)Method Detail |
---|
public String getMessage()
public boolean getIsError()
public String getMessageId()
public String getFilePath()
public int getLineNum()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |