Package de.gebit.integrity.runner.console.intercept

## Class Intercept

- java.lang.Object
- - de.gebit.integrity.runner.console.intercept.Intercept

-     public class Intercept
      extends Object

  Represents a single interception job of the `ConsoleInterceptionAggregator`.
  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()` |
    `List<InterceptedLine>` | `getLines()` |
    `long` | `getStartTimestamp()` |
    `boolean` | `isEmpty()` |
    `void` | `setEndTimestamp()` | Sets the end timestamp to the current time.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Intercept

          public Intercept()

  - ### Method Detail

    - #### setEndTimestamp

          public void setEndTimestamp()

      Sets the end timestamp to the current time.

    - #### getLines

          public 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