com.ibm.eNetwork.beans.HOD.event
Class MacroParseStat
java.lang.Object
|
+--com.ibm.eNetwork.beans.HOD.event.MacroParseStat
- public class MacroParseStat
- extends java.lang.Object
Object passed on a MacroParseEvent that contains statistics on every
error that occurred in a macro parse. See MacroParseEvent for
instructions on how to correctly use the parsing objects.
Method Summary |
int |
getLineNum()
Returns the line number that the error occurred on. |
java.lang.String |
getLineText()
Returns the line text for the error. |
java.lang.String |
getStatMessage()
Returns the error message. |
boolean |
isSuccess()
Because all stats are errors, this should always be false. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MacroParseStat
public MacroParseStat()
getLineNum
public int getLineNum()
- Returns the line number that the error occurred on.
- Returns:
- line number of the error
isSuccess
public boolean isSuccess()
- Because all stats are errors, this should always be false.
- Returns:
- success state for the statistic
getLineText
public java.lang.String getLineText()
- Returns the line text for the error.
- Returns:
- success state for the statistic
getStatMessage
public java.lang.String getStatMessage()
- Returns the error message.
- Returns:
- statistic error message