public abstract class VagrantSupport
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VagrantSupport.MultipleMachinesException |
Constructor and Description |
---|
VagrantSupport() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
checkVagrantRunning(java.lang.String vagrantFolder,
java.lang.String machineName,
boolean askToRunIfDown) |
abstract <any> |
computeVagrantSettings(Project project,
java.lang.String vagrantFolder,
java.lang.String machineName) |
abstract java.lang.String |
findVagrantFolder(Project project) |
abstract RemoteCredentials |
getCredentials(java.lang.String vagrantFolder,
java.lang.String machineName) |
static VagrantSupport |
getInstance() |
abstract java.util.List<java.lang.String> |
getMachineNames(java.lang.String instanceFolder) |
abstract PathMappingSettings |
getMappedFolders(java.lang.String vagrantFolder) |
abstract java.util.Collection<? extends RemoteConnector> |
getVagrantInstancesConnectors(Project project) |
static boolean |
isNotReadyForSsh(java.lang.String errorMessage) |
boolean |
isNotReadyForSsh(java.lang.Throwable t) |
abstract boolean |
isVagrantInstance(VirtualFile dir) |
abstract void |
runVagrant(java.lang.String vagrantFolder,
java.lang.String machineName) |
static void |
showMissingVagrantSupportMessage(Project project) |
public static VagrantSupport getInstance()
public abstract <any> computeVagrantSettings(Project project, java.lang.String vagrantFolder, java.lang.String machineName)
public static void showMissingVagrantSupportMessage(Project project)
public abstract RemoteCredentials getCredentials(java.lang.String vagrantFolder, java.lang.String machineName) throws java.io.IOException
java.io.IOException
public abstract boolean checkVagrantRunning(java.lang.String vagrantFolder, java.lang.String machineName, boolean askToRunIfDown)
public abstract void runVagrant(java.lang.String vagrantFolder, java.lang.String machineName) throws ExecutionException
ExecutionException
public abstract PathMappingSettings getMappedFolders(java.lang.String vagrantFolder)
vagrantFolder
- folder with Vagrantfilepublic abstract java.util.Collection<? extends RemoteConnector> getVagrantInstancesConnectors(Project project)
public abstract boolean isVagrantInstance(VirtualFile dir)
public abstract java.util.List<java.lang.String> getMachineNames(java.lang.String instanceFolder)
public boolean isNotReadyForSsh(java.lang.Throwable t)
public static boolean isNotReadyForSsh(java.lang.String errorMessage)
public abstract java.lang.String findVagrantFolder(Project project)