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 inBaseCliCommandby theBaseCliCommandExtensionFactoryfor the command developer convenience
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.felix.service.command.CommandSessiongetCommandSession()Gets CLI command session associated with this callIDtProjectManagergetDtProjectManager()GetsIDtProjectManagerserviceorg.slf4j.LoggergetLogger()Gets a CLI command loggerIWorkspaceOrchestratorgetWorkspaceOrchestrator()GetsIWorkspaceOrchestratorservicecom._1c.g5.v8.dt.internal.cli.api.impl.WorkspaceSupportgetWorkspaceSupport()GetsWorkspaceSupportservice 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()
GetsIDtProjectManagerservice- Returns:
- The
IDtProjectManagerservice. Cannot benull
-
getLogger
public org.slf4j.Logger getLogger()
Gets a CLI command logger- Returns:
- The logger instance. Cannot be
null
-
getWorkspaceOrchestrator
public IWorkspaceOrchestrator getWorkspaceOrchestrator()
GetsIWorkspaceOrchestratorservice- Returns:
- The
IWorkspaceOrchestratorservice. Cannot benull
-
getWorkspaceSupport
public com._1c.g5.v8.dt.internal.cli.api.impl.WorkspaceSupport getWorkspaceSupport()
GetsWorkspaceSupportservice facade- Returns:
- The
WorkspaceSupportservice facade. Cannot benull
-
-