Rework launchable stores

This commit is contained in:
crschnick
2024-08-12 07:10:46 +00:00
parent 9b7cca8589
commit 41f71d45a7
6 changed files with 8 additions and 64 deletions
@@ -9,7 +9,7 @@ public enum ShellTtyState {
@JsonProperty("none")
NONE(true, false, false, true, true),
@JsonProperty("merged")
MERGED_STDERR(false, false, false, false, true),
MERGED_STDERR(false, true, false, false, false),
@JsonProperty("pty")
PTY_ALLOCATED(false, true, true, false, false);
@@ -1,6 +0,0 @@
package io.xpipe.core.store;
public interface LaunchableStore extends DataStore {
default void launch() throws Exception {}
}
@@ -3,7 +3,7 @@ package io.xpipe.core.store;
import io.xpipe.core.process.ProcessControl;
import io.xpipe.core.process.ShellControl;
public interface ShellStore extends DataStore, LaunchableStore, FileSystemStore, ValidatableStore {
public interface ShellStore extends DataStore, FileSystemStore, ValidatableStore {
static boolean isLocal(ShellStore s) {
return s instanceof LocalStore;