diff options
Diffstat (limited to 'platform/platform-impl/src/com/intellij/remote/VagrantSupport.java')
-rw-r--r-- | platform/platform-impl/src/com/intellij/remote/VagrantSupport.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/platform-impl/src/com/intellij/remote/VagrantSupport.java b/platform/platform-impl/src/com/intellij/remote/VagrantSupport.java index a5ebae6fe567..9e2b60a54416 100644 --- a/platform/platform-impl/src/com/intellij/remote/VagrantSupport.java +++ b/platform/platform-impl/src/com/intellij/remote/VagrantSupport.java @@ -21,6 +21,7 @@ import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.Messages; import com.intellij.openapi.util.Pair; import com.intellij.openapi.vfs.VirtualFile; +import com.intellij.util.Consumer; import com.intellij.util.ui.UIUtil; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; @@ -43,6 +44,10 @@ public abstract class VagrantSupport { @NotNull public abstract RemoteCredentials getVagrantSettings(@NotNull Project project, String vagrantFolder); + public abstract void getVagrantSettingsAsync(@Nullable Project project, + @NotNull String vagrantFolder, + @NotNull Consumer<RemoteCredentials> onSuccess); + @NotNull public abstract RemoteCredentials getCredentials(@NotNull String folder) throws IOException; |