Package com.e1c.g5.v8.dt.cli.api
Interface ICommandSessionConsumer
-
- All Superinterfaces:
Consumer<org.apache.felix.service.command.CommandSession>
- All Known Implementing Classes:
BaseCliCommand
public interface ICommandSessionConsumer extends Consumer<org.apache.felix.service.command.CommandSession>
Commands may implement this interface to receive access to the currentCommandSession
. This session allows to introspect low-level details of the call (arg line, etc). Please note that this method is being called twice during the command call - before the start (to set up the session) and after the call (to clean up the context)