File tree Expand file tree Collapse file tree 5 files changed +13
-13
lines changed
imagetool/src/main/java/com/oracle/weblogic/imagetool/cli Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 7
7
8
8
import com .oracle .weblogic .imagetool .api .model .CommandResponse ;
9
9
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 ;
11
11
import com .oracle .weblogic .imagetool .cli .menu .CreateAuxImage ;
12
12
import com .oracle .weblogic .imagetool .cli .menu .CreateImage ;
13
13
import com .oracle .weblogic .imagetool .cli .menu .InspectImage ;
29
29
sortOptions = false ,
30
30
subcommands = {
31
31
CacheCLI .class ,
32
- Config .class ,
32
+ ConfigCommand .class ,
33
33
CreateImage .class ,
34
34
CreateAuxImage .class ,
35
35
UpdateImage .class ,
Original file line number Diff line number Diff line change 10
10
description = "Set global configuration options and defaults for the Image Tool" ,
11
11
commandListHeading = "%nCommands:%n%n" ,
12
12
subcommands = {
13
- SetConfigEntry .class ,
14
- ReadConfigEntry .class ,
15
- DeleteConfigEntry .class
13
+ SetCommand .class ,
14
+ ShowCommand .class ,
15
+ ResetCommand .class
16
16
},
17
17
sortOptions = false
18
18
)
19
- public class Config {
19
+ public class ConfigCommand {
20
20
}
Original file line number Diff line number Diff line change 16
16
description = "Remove/reset a configuration entry" ,
17
17
sortOptions = false
18
18
)
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 );
21
21
22
22
@ CommandLine .Option (
23
23
names = {"--name" },
Original file line number Diff line number Diff line change 18
18
description = "Set or update a configuration entry" ,
19
19
sortOptions = false
20
20
)
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 );
23
23
24
24
@ Option (
25
25
names = {"--name" },
@@ -29,7 +29,7 @@ public class SetConfigEntry implements Callable<CommandResponse> {
29
29
)
30
30
private ConfigAttributeName name ;
31
31
32
- @ Parameters (index = "0" )
32
+ @ Parameters (index = "0" , description = "the new configuration setting value" )
33
33
@ SuppressWarnings ("UnusedDeclaration" )
34
34
private String value ;
35
35
Original file line number Diff line number Diff line change 16
16
description = "Print a configuration entry" ,
17
17
sortOptions = false
18
18
)
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 );
21
21
22
22
@ CommandLine .Option (
23
23
names = {"--name" },
You can’t perform that action at this time.
0 commit comments