Annotation Type LogFileRuleConfig
-
@Retention(RUNTIME) @Target(METHOD) public @interface LogFileRuleConfig
Annotation to configure the log file rule.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]endMarkersEnd markers per log file.String[]errorMarkersLines containing at least one of these markers are considered an error.String[]fileNamesThe log file names to parse for errors.String[]knownIssuesList of known and accepted errors.StringquickstartFolderPropertySystem property containing the full path of the quickstart folders.booleanreadLogFileFromTestResourcesWhether to read the log files from the test resources or not.booleanstopAtErrorWhether to stop scanning the log files once an error is detected.
-
-
-
Element Detail
-
fileNames
String[] fileNames
The log file names to parse for errors.- Returns:
- the list of filenames
- Default:
- {"error.log"}
-
-
-
knownIssues
String[] knownIssues
List of known and accepted errors.- Returns:
- the list of issues
- Default:
- {}
-
-
-
endMarkers
String[] endMarkers
End markers per log file. The log files are only scanned up to the line containing these end markers.- Returns:
- the list of markers
- Default:
- {"error.log;WorkflowLauncherListener StartupListener.startupFinished called"}
-
-
-
errorMarkers
String[] errorMarkers
Lines containing at least one of these markers are considered an error.- Returns:
- the list of markers
- Default:
- {"ERROR", "WARN"}
-
-
-
quickstartFolderProperty
String quickstartFolderProperty
System property containing the full path of the quickstart folders. This property is usually set with the quickstart-runner.properties file during quickstart build.- Returns:
- the property name
- Default:
- "granite.it.default.quickstart.folders"
-
-