1 package cz.cuni.amis.pogamut.emohawk.utils;
2
3 import java.io.Serializable;
4 import java.util.regex.Pattern;
5
6 import cz.cuni.amis.pogamut.ut2004.utils.UCCWrapperPatterns;
7
8 public class UCCWrapperPatternsEmohawk extends UCCWrapperPatterns implements Serializable{
9
10 public final static Pattern botPortPattern = Pattern.compile("BotServerPort:(\\d*)");
11 public final static Pattern controlPortPattern = Pattern.compile("ControlServerPort:(\\d*)");
12 public final static Pattern observerPortPattern = Pattern.compile("ObservingServerPort:(\\d*)");
13 public final static Pattern commandletNotFoundPattern = Pattern.compile("Commandlet server not found");
14 public final static Pattern mapNotFoundPattern = Pattern.compile("No maplist entries found matching the current command line.*");
15 public final static Pattern matchStartedPattern = Pattern.compile("Game engine initialized");
16 public final static Pattern exitingErrorPattern = Pattern.compile("Exiting due to error");
17
18
19
20
21 private static final long serialVersionUID = -6507401328309950481L;
22
23 public UCCWrapperPatternsEmohawk() {
24 super(botPortPattern, controlPortPattern, observerPortPattern, commandletNotFoundPattern, mapNotFoundPattern, matchStartedPattern, exitingErrorPattern);
25 }
26
27 }