Skip to content

Commit e1691eb

Browse files
committed
renamed new command classes
1 parent bf14f5d commit e1691eb

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

imagetool/src/main/java/com/oracle/weblogic/imagetool/cli/ImageTool.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import com.oracle.weblogic.imagetool.api.model.CommandResponse;
99
import com.oracle.weblogic.imagetool.cli.cache.CacheCLI;
10-
import com.oracle.weblogic.imagetool.cli.config.Config;
10+
import com.oracle.weblogic.imagetool.cli.config.ConfigCommand;
1111
import com.oracle.weblogic.imagetool.cli.menu.CreateAuxImage;
1212
import com.oracle.weblogic.imagetool.cli.menu.CreateImage;
1313
import com.oracle.weblogic.imagetool.cli.menu.InspectImage;
@@ -29,7 +29,7 @@
2929
sortOptions = false,
3030
subcommands = {
3131
CacheCLI.class,
32-
Config.class,
32+
ConfigCommand.class,
3333
CreateImage.class,
3434
CreateAuxImage.class,
3535
UpdateImage.class,

imagetool/src/main/java/com/oracle/weblogic/imagetool/cli/config/Config.java renamed to imagetool/src/main/java/com/oracle/weblogic/imagetool/cli/config/ConfigCommand.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
description = "Set global configuration options and defaults for the Image Tool",
1111
commandListHeading = "%nCommands:%n%n",
1212
subcommands = {
13-
SetConfigEntry.class,
14-
ReadConfigEntry.class,
15-
DeleteConfigEntry.class
13+
SetCommand.class,
14+
ShowCommand.class,
15+
ResetCommand.class
1616
},
1717
sortOptions = false
1818
)
19-
public class Config {
19+
public class ConfigCommand {
2020
}

imagetool/src/main/java/com/oracle/weblogic/imagetool/cli/config/DeleteConfigEntry.java renamed to imagetool/src/main/java/com/oracle/weblogic/imagetool/cli/config/ResetCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
description = "Remove/reset a configuration entry",
1717
sortOptions = false
1818
)
19-
public class DeleteConfigEntry implements Callable<CommandResponse> {
20-
private static final LoggingFacade logger = LoggingFactory.getLogger(DeleteConfigEntry.class);
19+
public class ResetCommand implements Callable<CommandResponse> {
20+
private static final LoggingFacade logger = LoggingFactory.getLogger(ResetCommand.class);
2121

2222
@CommandLine.Option(
2323
names = {"--name"},

imagetool/src/main/java/com/oracle/weblogic/imagetool/cli/config/SetConfigEntry.java renamed to imagetool/src/main/java/com/oracle/weblogic/imagetool/cli/config/SetCommand.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
description = "Set or update a configuration entry",
1919
sortOptions = false
2020
)
21-
public class SetConfigEntry implements Callable<CommandResponse> {
22-
private static final LoggingFacade logger = LoggingFactory.getLogger(SetConfigEntry.class);
21+
public class SetCommand implements Callable<CommandResponse> {
22+
private static final LoggingFacade logger = LoggingFactory.getLogger(SetCommand.class);
2323

2424
@Option(
2525
names = {"--name"},
@@ -29,7 +29,7 @@ public class SetConfigEntry implements Callable<CommandResponse> {
2929
)
3030
private ConfigAttributeName name;
3131

32-
@Parameters(index = "0")
32+
@Parameters(index = "0", description = "the new configuration setting value")
3333
@SuppressWarnings("UnusedDeclaration")
3434
private String value;
3535

imagetool/src/main/java/com/oracle/weblogic/imagetool/cli/config/ReadConfigEntry.java renamed to imagetool/src/main/java/com/oracle/weblogic/imagetool/cli/config/ShowCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
description = "Print a configuration entry",
1717
sortOptions = false
1818
)
19-
public class ReadConfigEntry implements Callable<CommandResponse> {
20-
private static final LoggingFacade logger = LoggingFactory.getLogger(ReadConfigEntry.class);
19+
public class ShowCommand implements Callable<CommandResponse> {
20+
private static final LoggingFacade logger = LoggingFactory.getLogger(ShowCommand.class);
2121

2222
@CommandLine.Option(
2323
names = {"--name"},

0 commit comments

Comments
 (0)