Package org.testng

Class TestNGAntTask.TestNGLogOS

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable
    Enclosing class:
    TestNGAntTask

    private static class TestNGAntTask.TestNGLogOS
    extends org.apache.tools.ant.taskdefs.LogOutputStream
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.tools.ant.Task task  
      private boolean verbose  
    • Constructor Summary

      Constructors 
      Constructor Description
      TestNGLogOS​(org.apache.tools.ant.Task task, int level, boolean verbose)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void processLine​(java.lang.String line, int level)  
      • Methods inherited from class org.apache.tools.ant.taskdefs.LogOutputStream

        getMessageLevel, processBuffer, processLine
      • Methods inherited from class org.apache.tools.ant.util.LineOrientedOutputStream

        close, flush, processLine, write, write
      • Methods inherited from class java.io.OutputStream

        nullOutputStream, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • task

        private final org.apache.tools.ant.Task task
      • verbose

        private final boolean verbose
    • Constructor Detail

      • TestNGLogOS

        public TestNGLogOS​(org.apache.tools.ant.Task task,
                           int level,
                           boolean verbose)
    • Method Detail

      • processLine

        protected void processLine​(java.lang.String line,
                                   int level)
        Overrides:
        processLine in class org.apache.tools.ant.taskdefs.LogOutputStream