Package org.xwiki.test.integration.junit
Class Line
- java.lang.Object
-
- org.xwiki.test.integration.junit.Line
-
public class Line extends Object
Defines an expected or excluded line (can be a regex or not).- Since:
- 11.4RC1
- Version:
- $Id: 306f3570f2eedb9460470a543364a34c1ecdecab $
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
String
getContent()
int
hashCode()
boolean
isRegex()
-
-
-
Constructor Detail
-
Line
public Line(String content)
- Parameters:
content
- the log line that represents either an expectation or an exclude
-
Line
public Line(String content, boolean isRegex)
- Parameters:
content
- the log line that represents either an expectation or an excludeisRegex
- if true then the content is specified as a regex
-
-
Method Detail
-
getContent
public String getContent()
- Returns:
- the log line that represents either an expectation or an exclude
-
isRegex
public boolean isRegex()
- Returns:
- true if the content is specified as a regex
-
-