Class MavenExecutor

java.lang.Object
com.aeontronix.enhancedmule.tools.util.MavenExecutor
All Implemented Interfaces:
org.jline.console.CommandRegistry

public class MavenExecutor extends Object implements org.jline.console.CommandRegistry
  • Field Details

  • Constructor Details

    • MavenExecutor

      public MavenExecutor(EMTCli cli)
  • Method Details

    • commandNames

      public Set<String> commandNames()
      Specified by:
      commandNames in interface org.jline.console.CommandRegistry
    • commandAliases

      public Map<String,String> commandAliases()
      Specified by:
      commandAliases in interface org.jline.console.CommandRegistry
    • commandInfo

      public List<String> commandInfo(String command)
      Specified by:
      commandInfo in interface org.jline.console.CommandRegistry
    • hasCommand

      public boolean hasCommand(String command)
      Specified by:
      hasCommand in interface org.jline.console.CommandRegistry
    • compileCompleters

      public org.jline.reader.impl.completer.SystemCompleter compileCompleters()
      Specified by:
      compileCompleters in interface org.jline.console.CommandRegistry
    • commandDescription

      public org.jline.console.CmdDesc commandDescription(List<String> args)
      Specified by:
      commandDescription in interface org.jline.console.CommandRegistry
    • invoke

      public Object invoke(org.jline.console.CommandRegistry.CommandSession session, String command, Object... args) throws Exception
      Specified by:
      invoke in interface org.jline.console.CommandRegistry
      Throws:
      Exception
    • execute

      public static int execute(File workDir, List<String> args) throws IOException
      Throws:
      IOException