org.pantsbuild.zinc

ZincClient

Related Docs: object ZincClient | package zinc

class ZincClient extends AnyRef

Client for talking directly to a nailgun server from another JVM.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ZincClient
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ZincClient()

  2. new ZincClient(port: Int)

  3. new ZincClient(address: String, port: Int)

  4. new ZincClient(address: InetAddress, port: Int)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. val address: InetAddress

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  16. val port: Int

  17. def requireServer(options: List[String], classpath: List[File], timeout: String): Boolean

    Java API to start a zinc server in a separate process, if not already available.

  18. def requireServer(options: Seq[String], classpath: Seq[File], timeout: String): Boolean

    Start a zinc server in a separate process, if not already available.

  19. def run(command: String): Int

    Run a single argument-less nailgun command, with dummy output streams and default working directory.

    Run a single argument-less nailgun command, with dummy output streams and default working directory. Exit code is returned.

    Annotations
    @throws( classOf[java.net.ConnectException] )
    Exceptions thrown

    java.net.ConnectException if the zinc server is not available

  20. def run(command: String, out: OutputStream): Int

    Run a single argument-less nailgun command to a single output stream.

    Run a single argument-less nailgun command to a single output stream. Exit code is returned.

    Annotations
    @throws( classOf[java.net.ConnectException] )
    Exceptions thrown

    java.net.ConnectException if the zinc server is not available

  21. def run(args: List[String], cwd: File, out: OutputStream, err: OutputStream): Int

    Java API for sending a zinc command to a currently running nailgun server.

    Java API for sending a zinc command to a currently running nailgun server. All output goes to specified output streams. Exit code is returned.

    Annotations
    @throws( classOf[java.net.ConnectException] )
    Exceptions thrown

    java.net.ConnectException if the zinc server is not available

  22. def run(args: Seq[String], cwd: File, out: OutputStream, err: OutputStream): Int

    Send a zinc command to a currently running nailgun server.

    Send a zinc command to a currently running nailgun server. All output goes to specified output streams. Exit code is returned.

    Annotations
    @throws( classOf[java.net.ConnectException] )
    Exceptions thrown

    java.net.ConnectException if the zinc server is not available

  23. def send(command: String, args: Seq[String], cwd: File, out: OutputStream, err: OutputStream): Int

    Send a command to a currently running nailgun server.

    Send a command to a currently running nailgun server. Possible commands are "zinc", "status", and "shutdown". All output goes to specified output streams. Exit code is returned.

    Exceptions thrown

    java.net.ConnectException if the zinc server is not available

  24. def serverAvailable(): Boolean

    Check if a nailgun server is currently available.

  25. def serverStatus(): String

    Return server status as a string.

  26. def serverStatus(out: OutputStream): Boolean

    Output server status by sending the "status" command.

  27. def shutdownServer(): Boolean

    Shutdown any running zinc server by sending the "shutdown" command.

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped