Class Intercept
- java.lang.Object
-
- de.gebit.integrity.runner.console.intercept.Intercept
-
public class Intercept extends java.lang.Object
Represents a single interception job of theConsoleInterceptionAggregator
.- Author:
- Rene Schneider - initial API and implementation
-
-
Constructor Summary
Constructors Constructor Description Intercept()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addLine(InterceptedLine aLine)
Adds the given line.long
getEndTimestamp()
java.util.List<InterceptedLine>
getLines()
long
getStartTimestamp()
boolean
isEmpty()
void
setEndTimestamp()
Sets the end timestamp to the current time.
-
-
-
Method Detail
-
setEndTimestamp
public void setEndTimestamp()
Sets the end timestamp to the current time.
-
getLines
public java.util.List<InterceptedLine> getLines()
-
getStartTimestamp
public long getStartTimestamp()
-
getEndTimestamp
public long getEndTimestamp()
-
isEmpty
public boolean isEmpty()
-
addLine
protected void addLine(InterceptedLine aLine)
Adds the given line.- Parameters:
aLine
- the line to add
-
-