Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.groovy.runtime
Class ProcessGroovyMethods.ProcessRunner

    java.lang.Object
      org.codehaus.groovy.runtime.ProcessGroovyMethods.ProcessRunner

All Implemented Interfaces:
  Runnable

Enclosing class:
  ProcessGroovyMethods

    protected static class ProcessGroovyMethods.ProcessRunner
    extends Object
    implements Runnable

A Runnable which waits for a process to complete together with a notification scheme allowing another thread to wait a maximum number of seconds for the process to complete before killing it.

Since:
  1.0

Constructor Summary
Constructor and Description
`ProcessGroovyMethods.ProcessRunner(Process process)`

Method Summary
Modifier and Type | Method and Description
--- | ---
`void` | `run()`
`void` | `waitForOrKill(long millis)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ProcessGroovyMethods.ProcessRunner

    public ProcessGroovyMethods.ProcessRunner(Process process)

Method Detail

### run

    public void run()

  Specified by:
    `run` in interface `Runnable`

### waitForOrKill

    public void waitForOrKill(long millis)

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2003-2010 The Codehaus. All rights reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD