注释类型 Parameter
-
@Retention(RUNTIME) @Target(PARAMETER) public @interface Parameter
-
-
字段概要
字段 修饰符和类型 字段 说明 static java.lang.String
UNSPECIFIED
-
必需元素概要
所需元素 修饰符和类型 必需的元素 说明 java.lang.String
absentValue
The default value of the parameter if its name is not present on the command line.java.lang.String[]
names
Parameter name and aliases which must start with the hyphen character.
-
可选元素概要
可选元素 修饰符和类型 可选元素 说明 java.lang.String
presentValue
The default value of the parameter if its name is present on the command line.
-
-
-
-
presentValue
java.lang.String presentValue
The default value of the parameter if its name is present on the command line. If this value is specified, then the command parsing will not expect a value on the command line for this parameter. If this value is UNSPECIFIED, then an argument must be specified on the command line for the parameter.- 返回:
- default value of the parameter if its name is present on the command line.
- 默认值:
- "org.apache.felix.service.command.unspecified.parameter"
-
-