java.lang.Object
com.aeontronix.enhancedmule.tools.cli.AbstractCommand
com.aeontronix.enhancedmule.tools.cli.EMTCli

public class EMTCli extends AbstractCommand
  • Constructor Details

    • EMTCli

      public EMTCli() throws IOException, com.aeontronix.enhancedmule.config.ProfileNotFoundException
      Throws:
      IOException
      com.aeontronix.enhancedmule.config.ProfileNotFoundException
  • Method Details

    • getCli

      public EMTCli getCli()
      Overrides:
      getCli in class AbstractCommand
    • isDebug

      public boolean isDebug()
    • getConfig

      public com.aeontronix.enhancedmule.config.EMConfig getConfig()
    • isShell

      public boolean isShell()
    • getReader

      public org.jline.reader.LineReader getReader()
    • getWorkDir

      public File getWorkDir()
    • setWorkDir

      public void setWorkDir(File workDir)
    • setReader

      public void setReader(org.jline.reader.LineReader reader)
    • getActiveProfile

      @NotNull public com.aeontronix.enhancedmule.config.ConfigProfile getActiveProfile() throws IOException, com.aeontronix.enhancedmule.config.ProfileNotFoundException
      Throws:
      IOException
      com.aeontronix.enhancedmule.config.ProfileNotFoundException
    • getActiveProfileId

      @NotNull public String getActiveProfileId() throws IOException, com.aeontronix.enhancedmule.config.ProfileNotFoundException
      Throws:
      IOException
      com.aeontronix.enhancedmule.config.ProfileNotFoundException
    • saveConfig

      public void saveConfig() throws IOException
      Throws:
      IOException
    • getEnvironment

      public Environment getEnvironment(String organizationName, String environmentName) throws IOException, com.aeontronix.enhancedmule.config.ProfileNotFoundException, NotFoundException
      Throws:
      IOException
      com.aeontronix.enhancedmule.config.ProfileNotFoundException
      NotFoundException
    • getClient

      public EnhancedMuleClient getClient() throws IOException, com.aeontronix.enhancedmule.config.ProfileNotFoundException
      Throws:
      IOException
      com.aeontronix.enhancedmule.config.ProfileNotFoundException
    • getClient

      public EnhancedMuleClient getClient(String organizationName, String environmentName) throws IOException, com.aeontronix.enhancedmule.config.ProfileNotFoundException
      Throws:
      IOException
      com.aeontronix.enhancedmule.config.ProfileNotFoundException
    • findOrganization

      public Organization findOrganization(String organization) throws IOException, com.aeontronix.enhancedmule.config.ProfileNotFoundException, NotFoundException
      Throws:
      IOException
      com.aeontronix.enhancedmule.config.ProfileNotFoundException
      NotFoundException