Package hudson.os

Class PosixAPI

java.lang.Object
hudson.os.PosixAPI

public class PosixAPI extends Object
POSIX API wrapper.
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • PosixAPI

      public PosixAPI()
  • Method Details

    • jnr

      public static jnr.posix.POSIX jnr()
      Load the JNR implementation of the POSIX APIs for the current platform. Runtime exceptions will be of type RuntimeException. IllegalStateException will be thrown for methods not implemented on this platform.
      Returns:
      some implementation (even on Windows or unsupported Unix)