Class CliCommandContext
java.lang.Object
com.e1c.g5.v8.dt.cli.api.components.CliCommandContext
Standard CLI command context. This context is being injected in
BaseCliCommand
by the BaseCliCommandExtensionFactory
for the command developer convenience-
Method Summary
Modifier and TypeMethodDescriptionGets CLI session associated with this call.GetsIDtProjectManager
serviceorg.slf4j.Logger
Gets a CLI command loggerGetsIWorkspaceOrchestrator
serviceGetsIWorkspaceSupport
service facade
-
Method Details
-
getCliSession
Gets CLI session associated with this call.- Returns:
- CLI session, cannot be
null
-
getDtProjectManager
GetsIDtProjectManager
service- Returns:
- The
IDtProjectManager
service. Cannot benull
-
getLogger
public org.slf4j.Logger getLogger()Gets a CLI command logger- Returns:
- The logger instance. Cannot be
null
-
getWorkspaceOrchestrator
GetsIWorkspaceOrchestrator
service- Returns:
- The
IWorkspaceOrchestrator
service. Cannot benull
-
getWorkspaceSupport
GetsIWorkspaceSupport
service facade- Returns:
- The
IWorkspaceSupport
service facade. Cannot benull
-