package java.lang;

import java.io.File;
import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * This is a stub, to allow compile on Java 1.6
 * <p>
 * This class would never be loaded in runtime.
 *
 * @author Alexey Ragozin (alexey.ragozin@gmail.com)
 */
public final class ProcessBuilder {

    public ProcessBuilder(List<String> command) {
        throw new UnsupportedOperationException("This is a stub");
    }

    public ProcessBuilder(String... command) {
        throw new UnsupportedOperationException("This is a stub");
    }

    public ProcessBuilder command(List<String> command) {
        throw new UnsupportedOperationException("This is a stub");
    }

    public ProcessBuilder command(String... command) {
        throw new UnsupportedOperationException("This is a stub");
    }

    public List<String> command() {
        throw new UnsupportedOperationException("This is a stub");
    }

    public Map<String,String> environment() {
        throw new UnsupportedOperationException("This is a stub");
    }

    public File directory() {
        throw new UnsupportedOperationException("This is a stub");
    }

    public ProcessBuilder directory(File directory) {
        throw new UnsupportedOperationException("This is a stub");
    }

    public ProcessBuilder inheritIO() {
        throw new UnsupportedOperationException("This is a stub");
    }

    public boolean redirectErrorStream() {
        throw new UnsupportedOperationException("This is a stub");
    }

    public ProcessBuilder redirectErrorStream(boolean redirectErrorStream) {
        throw new UnsupportedOperationException("This is a stub");
    }

    public Process start() throws IOException {
        throw new UnsupportedOperationException("This is a stub");
    }
}
