Class Interpreter
- java.lang.Object
-
- org.wso2.diagnostics.watchers.logwatcher.Interpreter
-
public class Interpreter extends Object
Class used to interpret the log line.
-
-
Constructor Summary
Constructors Constructor Description Interpreter(Map<String,ActionExecutor> actionExecutorMap, Map<String,String[]> regexMap, Map<String,Integer> regexPatternReloadTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateFolder(String errorLine)Create folder for dump.voidinterpret(String errorLine, LinkedList<String> contextQueue)
-
-
-
Method Detail
-
interpret
public void interpret(String errorLine, LinkedList<String> contextQueue)
-
createFolder
public void createFolder(String errorLine)
Create folder for dump.- Parameters:
errorLine- The error line to include in the folder name
-
-