View Javadoc
1   /*******************************************************************************
2    * Copyhacked (H) 2012-2020.
3    * This program and the accompanying materials
4    * are made available under no term at all, use it like
5    * you want, but share and discuss about it
6    * every time possible with every body.
7    * 
8    * Contributors:
9    *      ron190 at ymail dot com - initial implementation
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  public class CreateShellTab implements InteractionCommand {
19  
20      private static final Logger LOGGER = LogManager.getRootLogger();
21  
22      public CreateShellTab(Object[] interactionParams) {
23          // nothing
24      }
25  
26      @Override
27      public void execute() {
28          LOGGER.info(() -> AnsiColorUtil.addGreenColor(this.getClass().getSimpleName()));
29      }
30  }