Class AntProjectHandler

java.lang.Object
java.util.logging.Handler
org.eclipse.m2m.atl.emftvm.ant.AntProjectHandler

public class AntProjectHandler extends Handler
Log handler for EMFTVM messages during Ant build.
  • Constructor Details

    • AntProjectHandler

      public AntProjectHandler(org.apache.tools.ant.Project project)
      Creates a new AntProjectHandler.
      Parameters:
      project - the Ant project
  • Method Details

    • close

      public void close() throws SecurityException
      Does nothing.
      Specified by:
      close in class Handler
      Throws:
      SecurityException
    • flush

      public void flush()
      Does nothing.
      Specified by:
      flush in class Handler
    • publish

      public void publish(LogRecord record)
      Logs
      record
      using the Ant logger.
      Specified by:
      publish in class Handler
      Parameters:
      record - the record to log
    • getProject

      public org.apache.tools.ant.Project getProject()
      Returns the Ant project.
      Returns:
      the project