Class EMTCli
java.lang.Object
com.aeontronix.enhancedmule.tools.cli.EMTCli
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindOrganization(String organization) com.aeontronix.enhancedmule.config.ConfigProfilecom.aeontronix.enhancedmule.config.EMConfiggetEnvironment(String organizationName, String environmentName) org.jline.reader.LineReaderbooleanisDebug()booleanisShell()voidvoidsetReader(org.jline.reader.LineReader reader) voidsetWorkDir(File workDir)
-
Constructor Details
-
EMTCli
- Throws:
IOExceptioncom.aeontronix.enhancedmule.config.ProfileNotFoundException
-
-
Method Details
-
isDebug
public boolean isDebug() -
getConfig
public com.aeontronix.enhancedmule.config.EMConfig getConfig() -
isShell
public boolean isShell() -
getReader
public org.jline.reader.LineReader getReader() -
getWorkDir
-
setWorkDir
-
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:
IOExceptioncom.aeontronix.enhancedmule.config.ProfileNotFoundException
-
saveConfig
- Throws:
IOException
-
getEnvironment
public Environment getEnvironment(String organizationName, String environmentName) throws IOException, com.aeontronix.enhancedmule.config.ProfileNotFoundException, NotFoundException - Throws:
IOExceptioncom.aeontronix.enhancedmule.config.ProfileNotFoundExceptionNotFoundException
-
getClient
public EnhancedMuleClient getClient() throws IOException, com.aeontronix.enhancedmule.config.ProfileNotFoundException- Throws:
IOExceptioncom.aeontronix.enhancedmule.config.ProfileNotFoundException
-
getClient
public EnhancedMuleClient getClient(String organizationName, String environmentName) throws IOException, com.aeontronix.enhancedmule.config.ProfileNotFoundException - Throws:
IOExceptioncom.aeontronix.enhancedmule.config.ProfileNotFoundException
-
findOrganization
public Organization findOrganization(String organization) throws IOException, com.aeontronix.enhancedmule.config.ProfileNotFoundException, NotFoundException - Throws:
IOExceptioncom.aeontronix.enhancedmule.config.ProfileNotFoundExceptionNotFoundException
-