Skip to content

Commit 19125fe

Browse files
dbeaver/pro#7888 interface for cli context (#4100)
1 parent ea5fb47 commit 19125fe

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

server/bundles/io.cloudbeaver.model.cli/src/io/cloudbeaver/model/cli/CloudBeaverCommandLine.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* DBeaver - Universal Database Manager
3-
* Copyright (C) 2010-2025 DBeaver Corp and others
3+
* Copyright (C) 2010-2026 DBeaver Corp and others
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -45,7 +45,7 @@ public CloudBeaverCommandLine(
4545
@Override
4646
protected CloudBeaverTopLevelCommand createTopLevelCommand(
4747
@Nullable ApplicationInstanceController applicationInstanceController,
48-
@NotNull CommandLineContext context,
48+
@NotNull CLIContextImpl context,
4949
@NotNull CLIRunMeta runMeta
5050
) {
5151
if (authenticator != null) {
@@ -58,7 +58,7 @@ protected CloudBeaverTopLevelCommand createTopLevelCommand(
5858
@Override
5959
protected CommandLine initCommandLine(
6060
@Nullable ApplicationInstanceController applicationInstanceController,
61-
@NotNull CommandLineContext context,
61+
@NotNull CLIContextImpl context,
6262
@NotNull CLIRunMeta runMeta
6363
) {
6464
var cmd = super.initCommandLine(applicationInstanceController, context, runMeta);

server/bundles/io.cloudbeaver.model.cli/src/io/cloudbeaver/model/cli/CloudBeaverTopLevelCommand.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* DBeaver - Universal Database Manager
3-
* Copyright (C) 2010-2025 DBeaver Corp and others
3+
* Copyright (C) 2010-2026 DBeaver Corp and others
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -19,8 +19,8 @@
1919
import org.jkiss.code.NotNull;
2020
import org.jkiss.code.Nullable;
2121
import org.jkiss.dbeaver.model.cli.ApplicationInstanceController;
22+
import org.jkiss.dbeaver.model.cli.CLIContextImpl;
2223
import org.jkiss.dbeaver.model.cli.CLIRunMeta;
23-
import org.jkiss.dbeaver.model.cli.CommandLineContext;
2424
import org.jkiss.dbeaver.model.cli.command.AbstractTopLevelCommand;
2525
import picocli.CommandLine;
2626

@@ -35,7 +35,7 @@ public class CloudBeaverTopLevelCommand extends AbstractTopLevelCommand {
3535

3636
protected CloudBeaverTopLevelCommand(
3737
@Nullable ApplicationInstanceController controller,
38-
@NotNull CommandLineContext context,
38+
@NotNull CLIContextImpl context,
3939
@NotNull CLIRunMeta meta
4040

4141
) {

0 commit comments

Comments
 (0)