public abstract class ShellResponse extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ShellResponse.Cancelled |
static class |
ShellResponse.Close |
static class |
ShellResponse.Error |
static class |
ShellResponse.NoCommand |
static class |
ShellResponse.Ok
Command execution is terminated.
|
static class |
ShellResponse.UnknownCommand |
Constructor and Description |
---|
ShellResponse() |
Modifier and Type | Method and Description |
---|---|
static ShellResponse.Cancelled |
cancelled() |
static ShellResponse.Close |
close() |
static ShellResponse.Error |
error(ErrorKind type,
String msg) |
static ShellResponse.Error |
error(ErrorKind type,
String msg,
Throwable throwable) |
static ShellResponse.Error |
evalError(String msg) |
static ShellResponse.Error |
evalError(String msg,
Throwable throwable) |
abstract String |
getMessage() |
static ShellResponse.Error |
internalError(String msg) |
static ShellResponse.Error |
internalError(String msg,
Throwable throwable) |
static ShellResponse.NoCommand |
noCommand() |
static ShellResponse.Ok |
ok() |
static ShellResponse.Ok |
ok(Iterable<?> produced) |
static ShellResponse.UnknownCommand |
unknownCommand(String name) |
public ShellResponse()
public static ShellResponse.UnknownCommand unknownCommand(String name)
public static ShellResponse.NoCommand noCommand()
public static ShellResponse.Ok ok(Iterable<?> produced)
public static ShellResponse.Ok ok()
public static ShellResponse.Error evalError(String msg, Throwable throwable)
public static ShellResponse.Error evalError(String msg)
public static ShellResponse.Error internalError(String msg, Throwable throwable)
public static ShellResponse.Error internalError(String msg)
public static ShellResponse.Error error(ErrorKind type, String msg, Throwable throwable)
public static ShellResponse.Error error(ErrorKind type, String msg)
public static ShellResponse.Cancelled cancelled()
public static ShellResponse.Close close()
public abstract String getMessage()
Copyright © 2015 eXo Platform SAS. All Rights Reserved.