T - The return parameter of the Command.execute(Object) method.public interface PrettyCommand<T> extends Command<T>
| Modifier and Type | Method and Description |
|---|---|
String |
prettify(T object)
This method is called with the return value of
Command.execute(Object)
as parameter if the execution context allows pretty output. |
String prettify(T object) throws Exception
Command.execute(Object)
as parameter if the execution context allows pretty output.object - the return value of Command.execute(Object)Exception - if the prettifying process throws an error.Copyright © 2013-2018–2019 SeedStack. All rights reserved.