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 import java.util.Arrays;
19
20
21
22
23 public class CreateValuesTab implements InteractionCommand {
24
25 private static final Logger LOGGER = LogManager.getRootLogger();
26
27
28
29
30 private final String[][] data;
31
32
33
34
35 public CreateValuesTab(Object[] interactionParams) {
36 this.data = (String[][]) interactionParams[1];
37 }
38
39 @Override
40 public void execute() {
41
42 LOGGER.debug(() -> AnsiColorUtil.addGreenColor(this.getClass().getSimpleName()));
43 LOGGER.debug(() -> Arrays.deepToString(this.data));
44 }
45 }