mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-15476 State (either Running or Stopped) added to Docker machines combo
This commit is contained in:
@@ -27,6 +27,10 @@ public class DockerMachineCommandException extends RuntimeException {
|
||||
super(buildErrorMessage(exitCode, stderr));
|
||||
}
|
||||
|
||||
public DockerMachineCommandException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
private static String buildErrorMessage(int exitCode, String stderr) {
|
||||
StringBuilder sb = new StringBuilder()
|
||||
|
||||
@@ -48,6 +48,9 @@ public abstract class DockerSupport {
|
||||
@NotNull
|
||||
public abstract List<String> getVMs() throws DockerMachineException, DockerMachineCommandException;
|
||||
|
||||
@NotNull
|
||||
public abstract String getStatus(@NotNull String machineName);
|
||||
|
||||
@NotNull
|
||||
public abstract ConnectionInfo getConnectionInfo(@NotNull String machineName) throws DockerMachineException, DockerMachineCommandException;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user