Class TcpBuildConnection.ServerConnection

  • All Implemented Interfaces:
    java.lang.AutoCloseable
    Enclosing class:
    TcpBuildConnection

    public static final class TcpBuildConnection.ServerConnection
    extends java.lang.Object
    implements java.lang.AutoCloseable
    Represents a server connection that must be created to communicate with the maven process using the TcpBuildConnection
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void setupProcess​(java.util.function.BiConsumer<java.lang.String,​java.lang.String> consumer)
      Given a consumer publishes required properties for a process to launch
      • Methods inherited from class java.lang.Object

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

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • setupProcess

        public void setupProcess​(java.util.function.BiConsumer<java.lang.String,​java.lang.String> consumer)
        Given a consumer publishes required properties for a process to launch
        Parameters:
        consumer - the consumer for system properties