mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-14 13:26:58 +00:00
Rework launchable stores
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user