public interface IReport
IResource
,
IWorkflowInstance
,
ILinkedResource
Modifier and Type | Method and Description |
---|---|
void |
addDebug(String debug)
Adds a debugs.
|
void |
addError(String error)
Adds an error.
|
void |
addInfo(String info)
Adds a info.
|
void |
addReport(IReport reportCollector)
Adds a report.
|
void |
addSuccess(String success)
Deprecated.
use addInfo method instead
|
void |
addWarning(String warning)
Adds a warning.
|
Collection<String> |
getDebugs()
Gets the debugs.
|
Collection<String> |
getErrors()
Gets the errors.
|
Collection<String> |
getInfos()
Gets the infos.
|
Collection<String> |
getSuccesses()
Deprecated.
use getInfos method instead
|
Collection<String> |
getWarnings()
Gets 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 |
isSuccess()
Deprecated.
use isInfo method instead
|
boolean |
isWarning()
Checks if there is at least a warning.
|
void |
reset()
Resets errors, warnings, successes, reports.
|
String |
write()
Writes the report to a String object.
|
void reset()
void addError(String error)
error
- The String error to add.void addWarning(String warning)
warning
- The String warning to add.void addDebug(String debug)
debug
- The String debug to add.@Deprecated void addSuccess(String success)
success
- The String info to add.void addInfo(String info)
info
- The String info to add.void addReport(IReport reportCollector)
reportCollector
- Collection<String> getErrors()
Collection<String> getWarnings()
Collection<String> getDebugs()
@Deprecated Collection<String> getSuccesses()
Collection<String> getInfos()
boolean isError()
boolean isWarning()
boolean isDebug()
@Deprecated boolean isSuccess()
boolean isInfo()
String write()
Copyright © 2022 Visiativ. All rights reserved.