public final class ParameterWrapper extends Object implements ResultWrapper
提供一些静态方法,
| 限定符和类型 | 方法和说明 |
|---|---|
static ParameterWrapper |
fail(ConsoleAppRuntimeException e) |
Object[] |
getArgs() |
ConsoleAppRuntimeException |
getEx() |
boolean |
isSuccess() |
static ParameterWrapper |
success(List<Object> argList) |
public static ParameterWrapper success(List<Object> argList)
public static ParameterWrapper fail(ConsoleAppRuntimeException e)
public boolean isSuccess()
isSuccess 在接口中 ResultWrappergetEx 方法将返回解析时遇到的异常public Object[] getArgs()
getArgs 在接口中 ResultWrapperpublic ConsoleAppRuntimeException getEx()
getEx 在接口中 ResultWrapperCopyright © 2021. All rights reserved.