Class CliCommandContext
- java.lang.Object
-
- com.e1c.g5.v8.dt.cli.api.components.CliCommandContext
-
public class CliCommandContext extends Object
Standard CLI command context. This context is being injected inBaseCliCommand
by theBaseCliCommandExtensionFactory
for the command developer convenience
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.felix.service.command.CommandSession
getCommandSession()
Gets CLI command session associated with this callIDtProjectManager
getDtProjectManager()
GetsIDtProjectManager
serviceorg.slf4j.Logger
getLogger()
Gets a CLI command loggerIWorkspaceOrchestrator
getWorkspaceOrchestrator()
GetsIWorkspaceOrchestrator
servicecom._1c.g5.v8.dt.internal.cli.api.impl.WorkspaceSupport
getWorkspaceSupport()
GetsWorkspaceSupport
service facade
-
-
-
Method Detail
-
getCommandSession
public org.apache.felix.service.command.CommandSession getCommandSession()
Gets CLI command session associated with this call- Returns:
- Command session, cannot be
null
-
getDtProjectManager
public IDtProjectManager 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
public IWorkspaceOrchestrator getWorkspaceOrchestrator()
GetsIWorkspaceOrchestrator
service- Returns:
- The
IWorkspaceOrchestrator
service. Cannot benull
-
getWorkspaceSupport
public com._1c.g5.v8.dt.internal.cli.api.impl.WorkspaceSupport getWorkspaceSupport()
GetsWorkspaceSupport
service facade- Returns:
- The
WorkspaceSupport
service facade. Cannot benull
-
-