|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.io.filereader.SettingsStatus
SettingsStatus
instead.
Will be removed in Ver3.0.
@Deprecated public class SettingsStatus
Constructor Summary | |
---|---|
SettingsStatus()
Deprecated. Creates a new status object with no messages. |
Method Summary | |
---|---|
void |
addError(String msg)
Deprecated. Adds an error message to the status object. |
void |
addInfo(String msg)
Deprecated. Adds an informational message to the status object. |
void |
addWarning(String msg)
Deprecated. Adds a warning message to the status object. |
String |
getAllErrorMessages(int maxMsg)
Deprecated. Creates a string containing concatenated error messages, separated by a new line ('\n') character. |
String |
getErrorMessage(int idx)
Deprecated. |
String |
getInfoMessage(int idx)
Deprecated. |
int |
getNumOfAllMessages()
Deprecated. |
int |
getNumOfErrors()
Deprecated. |
int |
getNumOfInfos()
Deprecated. |
int |
getNumOfWarnings()
Deprecated. |
String |
getWarningMessage(int idx)
Deprecated. |
void |
printErrors()
Deprecated. Prints all error messages into the logger as error. |
void |
printInfos()
Deprecated. Prints all info messages into the logger as info. |
void |
printWarnings()
Deprecated. Prints all warning messages into the logger as warning. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SettingsStatus()
Method Detail |
---|
public void addInfo(String msg)
msg
- the info message to addpublic int getNumOfInfos()
public String getInfoMessage(int idx)
idx
- the index of the info message to return (must be
0...NumOfInfos-1)
public void addWarning(String msg)
msg
- the warning message to addpublic int getNumOfWarnings()
public String getWarningMessage(int idx)
idx
- the index of the warning message to return (must be
0...NumOfWarnings-1)
public void addError(String msg)
msg
- the error message to addpublic int getNumOfErrors()
public String getErrorMessage(int idx)
idx
- the index of the error message to return (must be
0...NumOfErors-1)
public int getNumOfAllMessages()
public void printErrors()
public void printWarnings()
public void printInfos()
public String getAllErrorMessages(int maxMsg)
null
.
maxMsg
- the max number of error messages to include in the result.
If set to a number less than or equal 0 all error messages are
included.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |