Package org.apache.karaf.shell.commands
Annotation Type Command
-
@Retention(RUNTIME) @Target(TYPE) @Deprecated public @interface Command
Deprecated.Used to denote a class represents a command which is executable within a shell/scope or as a command line process.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringdescriptionDeprecated.Return the description of the command which is used to generate command line help.StringdetailedDescriptionDeprecated.Return a detailed description of the command.
-
-
-
Element Detail
-
scope
String scope
Deprecated.Return the scope or sub shell of the command.- Returns:
- The command scope.
-
-
-
name
String name
Deprecated.Return the name of the command if used inside a shell.- Returns:
- The command name.
-
-
-
description
String description
Deprecated.Return the description of the command which is used to generate command line help.- Returns:
- The command description.
- Default:
- ""
-
-
-
detailedDescription
String detailedDescription
Deprecated.Return a detailed description of the command.- Returns:
- The command detailed description.
- Default:
- ""
-
-