Class Intercept


  • public class Intercept
    extends java.lang.Object
    Represents a single interception job of the ConsoleInterceptionAggregator.
    Author:
    Rene Schneider - initial API and implementation
    • Constructor Detail

      • Intercept

        public Intercept()
    • Method Detail

      • setEndTimestamp

        public void setEndTimestamp()
        Sets the end timestamp to the current time.
      • 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