All Downloads are FREE. Search and download functionalities are using the official Maven repository.

vagrant.api.VagrantApi Maven / Gradle / Ivy

There is a newer version: 0.2.0
Show newest version
package vagrant.api;

import java.io.File;
import java.util.Collection;

import vagrant.api.domain.Machine;
import vagrant.api.domain.SshConfig;

public interface VagrantApi {
    String DEFAULT_MACHINE = "default";

    String getVersion();
    void init(String string);
    BoxApi box();
    void up(String name);
    void destroy(String name);
    Collection status();
    Machine status(String name);
    void halt(String name);
    void haltForced(String name);
    void reload(String name);
    void resume(String name);
    void suspend(String name);
    String ssh(String name, String command);
    SshConfig sshConfig(String name);

    File getPath();
    boolean exists();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy