Package com.axemble.vdoc.sdk.interfaces
Interface IReport
public interface IReport
A property
- Since:
- 1.0, 15/04/2008
- Author:
- vlygeros
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a debugs.voidAdds an error.voidAdds a info.voidAdds a report.voidaddSuccess(String success) Deprecated.use addInfo method insteadvoidaddWarning(String warning) Adds a warning.Gets the debugs.Gets the errors.getInfos()Gets the infos.Deprecated.use getInfos method insteadGets the warnings.booleanisDebug()Checks if there is at least a debug.booleanisError()Checks if there is at least an error.booleanisInfo()Checks if there is at least a info.booleanDeprecated.use isInfo method insteadbooleanChecks if there is at least a warning.voidreset()Resets errors, warnings, successes, reports.write()Writes the report to a String object.
- 
Method Details- 
resetvoid reset()Resets errors, warnings, successes, reports.
- 
addErrorAdds an error.- Parameters:
- error- The String error to add.
 
- 
addWarningAdds a warning.- Parameters:
- warning- The String warning to add.
 
- 
addDebugAdds a debugs.- Parameters:
- debug- The String debug to add.
 
- 
addSuccessDeprecated.use addInfo method insteadAdds a info- Parameters:
- success- The String info to add.
 
- 
addInfoAdds a info.- Parameters:
- info- The String info to add.
 
- 
addReportAdds a report.- Parameters:
- reportCollector-
 
- 
getErrorsCollection<String> getErrors()Gets the errors.- Returns:
- A collection of String objects.
 
- 
getWarningsCollection<String> getWarnings()Gets the warnings.- Returns:
- A collection of String objects.
 
- 
getDebugsCollection<String> getDebugs()Gets the debugs.- Returns:
- A collection of String objects.
 
- 
getSuccessesDeprecated.use getInfos method insteadGets the infos.- Returns:
- A collection of String objects.
 
- 
getInfosCollection<String> getInfos()Gets the infos.- Returns:
- A collection of String objects.
 
- 
isErrorboolean isError()Checks if there is at least an error.- Returns:
- true if an error was added, false otherwise.
 
- 
isWarningboolean isWarning()Checks if there is at least a warning.- Returns:
- true if a warning was added, false otherwise.
 
- 
isDebugboolean isDebug()Checks if there is at least a debug.- Returns:
- true if a debug was added, false otherwise.
 
- 
isSuccessDeprecated.use isInfo method insteadChecks if there is at least a info.- Returns:
- true if a info was added, false otherwise.
 
- 
isInfoboolean isInfo()Checks if there is at least a info.- Returns:
- true if a info was added, false otherwise.
 
- 
writeString write()Writes the report to a String object.- Returns:
- The String containing the report.
 
 
-