1
2
3
4
5
6
7
8
9
10
11 package com.jsql.view.terminal.interaction;
12
13 import com.jsql.util.AnsiColorUtil;
14 import com.jsql.view.interaction.InteractionCommand;
15 import org.apache.logging.log4j.LogManager;
16 import org.apache.logging.log4j.Logger;
17
18
19
20
21 public class AbstractGetShellResult implements InteractionCommand {
22
23 private static final Logger LOGGER = LogManager.getRootLogger();
24
25 public AbstractGetShellResult(Object[] interactionParams) {
26
27 }
28
29 @Override
30 public void execute() {
31 LOGGER.info(() -> AnsiColorUtil.addGreenColor(this.getClass().getSimpleName()));
32 }
33 }