Class EMTCli
java.lang.Object
com.aeontronix.enhancedmule.tools.cli.AbstractCommand
com.aeontronix.enhancedmule.tools.cli.EMTCli
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindOrganization(String organization) @NotNull ConfigProfile@NotNull Stringcom.aeontronix.anypointsdk.AnypointClientgetCli()getEnvironment(String organizationName, String environmentName) org.jline.reader.LineReaderbooleanisDebug()booleanisShell()voidvoidsetReader(org.jline.reader.LineReader reader) voidsetWorkDir(File workDir)
-
Constructor Details
-
EMTCli
- Throws:
IOExceptionProfileNotFoundException
-
EMTCli
- Throws:
IOExceptionProfileNotFoundException
-
-
Method Details
-
getCli
- Overrides:
getCliin classAbstractCommand
-
isDebug
public boolean isDebug() -
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 @NotNull ConfigProfile getActiveProfile() throws IOException, ProfileNotFoundException- Throws:
IOExceptionProfileNotFoundException
-
getActiveProfileId
- Throws:
IOExceptionProfileNotFoundException
-
saveConfig
- Throws:
IOException
-
getAnypointClient
public com.aeontronix.anypointsdk.AnypointClient getAnypointClient() throws IOException, ProfileNotFoundException- Throws:
IOExceptionProfileNotFoundException
-
getEnvironment
public Environment getEnvironment(String organizationName, String environmentName) throws IOException, ProfileNotFoundException, NotFoundException -
createEMClient
- Throws:
IOExceptionProfileNotFoundException
-
findOrganization
public Organization findOrganization(String organization) throws IOException, ProfileNotFoundException, NotFoundException
-