Package com.axemble.vdoc.sdk.interfaces
Interface IReport
public interface IReport
A property
- Since:
- 1.0, 15/04/2008
- Author:
- vlygeros
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a debugs.void
Adds an error.void
Adds a info.void
Adds a report.void
addSuccess
(String success) Deprecated.use addInfo method insteadvoid
addWarning
(String warning) Adds a warning.Gets the debugs.Gets the errors.getInfos()
Gets the infos.Deprecated.use getInfos method insteadGets the warnings.boolean
isDebug()
Checks if there is at least a debug.boolean
isError()
Checks if there is at least an error.boolean
isInfo()
Checks if there is at least a info.boolean
Deprecated.use isInfo method insteadboolean
Checks if there is at least a warning.void
reset()
Resets errors, warnings, successes, reports.write()
Writes the report to a String object.
-
Method Details
-
reset
void reset()Resets errors, warnings, successes, reports. -
addError
Adds an error.- Parameters:
error
- The String error to add.
-
addWarning
Adds a warning.- Parameters:
warning
- The String warning to add.
-
addDebug
Adds a debugs.- Parameters:
debug
- The String debug to add.
-
addSuccess
Deprecated.use addInfo method insteadAdds a info- Parameters:
success
- The String info to add.
-
addInfo
Adds a info.- Parameters:
info
- The String info to add.
-
addReport
Adds a report.- Parameters:
reportCollector
-
-
getErrors
Collection<String> getErrors()Gets the errors.- Returns:
- A collection of String objects.
-
getWarnings
Collection<String> getWarnings()Gets the warnings.- Returns:
- A collection of String objects.
-
getDebugs
Collection<String> getDebugs()Gets the debugs.- Returns:
- A collection of String objects.
-
getSuccesses
Deprecated.use getInfos method insteadGets the infos.- Returns:
- A collection of String objects.
-
getInfos
Collection<String> getInfos()Gets the infos.- Returns:
- A collection of String objects.
-
isError
boolean isError()Checks if there is at least an error.- Returns:
- true if an error was added, false otherwise.
-
isWarning
boolean isWarning()Checks if there is at least a warning.- Returns:
- true if a warning was added, false otherwise.
-
isDebug
boolean isDebug()Checks if there is at least a debug.- Returns:
- true if a debug was added, false otherwise.
-
isSuccess
Deprecated.use isInfo method insteadChecks if there is at least a info.- Returns:
- true if a info was added, false otherwise.
-
isInfo
boolean isInfo()Checks if there is at least a info.- Returns:
- true if a info was added, false otherwise.
-
write
String write()Writes the report to a String object.- Returns:
- The String containing the report.
-