Package hudson.os

Class PosixAPI


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

      • PosixAPI

        public PosixAPI()
    • Method Detail

      • 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)