001/*
002 * To change this template, choose Tools | Templates
003 * and open the template in the editor.
004 */
005package org.anarres.qemu.exec;
006
007import java.util.Arrays;
008import java.util.List;
009import javax.annotation.Nonnull;
010
011/**
012 *
013 * @author shevek
014 */
015public class QEmuCustomOption extends AbstractQEmuOption {
016
017    private final List<? extends String> words;
018
019    public QEmuCustomOption(@Nonnull List<? extends String> words) {
020        this.words = words;
021    }
022
023    public QEmuCustomOption(@Nonnull String... words) {
024        this(Arrays.asList(words));
025    }
026
027    @Override
028    public void appendTo(List<? super String> line) {
029        line.addAll(words);
030    }
031}