/** * Attach standard error. * * @param attachStderr Whether to attach standout error * @return ExecCreateParam */ public static ExecCreateParam attachStderr(final boolean attachStderr) { return create("AttachStderr", String.valueOf(attachStderr)); }
/** * Attach standard ouput. * * @param attachStdout Whether to attach standard output * @return ExecCreateParam */ public static ExecCreateParam attachStdout(final boolean attachStdout) { return create("AttachStdout", String.valueOf(attachStdout)); }
/** * Attach stdin * * @param attachStdin Whether to attach the standard input which allows user interaction. * @return ExecCreateParam */ public static ExecCreateParam attachStdin(final boolean attachStdin) { return create("AttachStdin", String.valueOf(attachStdin)); }
/** * User that will run the command. * * @param user user * @return ExecCreateParam */ public static ExecCreateParam user(final String user) { return create("User", user); } }
/** * Attach standard error. * * @param attachStderr Whether to attach standout error * @return ExecCreateParam */ public static ExecCreateParam attachStderr(final boolean attachStderr) { return create("AttachStderr", String.valueOf(attachStderr)); }
/** * Give extended privileges to the command. * * @param privileged Whether to give extended privileges to the command * @return ExecCreateParam */ public static ExecCreateParam privileged(final boolean privileged) { return create("Privileged", String.valueOf(privileged)); }
/** * Attach standard ouput. * * @param attachStdout Whether to attach standard output * @return ExecCreateParam */ public static ExecCreateParam attachStdout(final boolean attachStdout) { return create("AttachStdout", String.valueOf(attachStdout)); }
/** * Attach standard streams to a tty. * * @param tty Whether to attach standard streams to a tty. * @return ExecCreateParam */ public static ExecCreateParam tty(final boolean tty) { return create("Tty", String.valueOf(tty)); }
/** * Attach stdin * * @param attachStdin Whether to attach the standard input which allows user interaction. * @return ExecCreateParam */ public static ExecCreateParam attachStdin(final boolean attachStdin) { return create("AttachStdin", String.valueOf(attachStdin)); }
/** * Execute in detached mode * * @param detach Whether to detach. * @return ExecCreateParam */ public static ExecCreateParam detach(final boolean detach) { return create("Detach", String.valueOf(detach)); }
/** * Attach standard streams to a tty. * * @param tty Whether to attach standard streams to a tty. * @return ExecCreateParam */ public static ExecCreateParam tty(final boolean tty) { return create("Tty", String.valueOf(tty)); }
/** * Give extended privileges to the command. * * @param privileged Whether to give extended privileges to the command * @return ExecCreateParam */ public static ExecCreateParam privileged(final boolean privileged) { return create("Privileged", String.valueOf(privileged)); }
/** * User that will run the command. * * @param user user * @return ExecCreateParam */ public static ExecCreateParam user(final String user) { return create("User", user); } }
/** * Execute in detached mode * * @param detach Whether to detach. * @return ExecCreateParam */ public static ExecCreateParam detach(final boolean detach) { return create("Detach", String.valueOf(detach)); }