使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
选项类
public abstract @interface OptionClass
implements Annotation
com.android.tradefed.config.OptionClass |
将类注释为表示IConfiguration
对象。
概括
公共方法
别名
public String alias ()
此配置对象的可选描述性别名。
该别名当前有两个用途:
全局命名空间
public boolean global_namespace ()
是否将此Option
添加到全局选项命名空间中。
如果为
true
(默认值),则可以仅通过名称 --
--[Option name]
来指定此选项。如果为
false
,则必须指定别名或另一个特定名称空间(例如完整的类名)才能为此类使用
Option
--
--[OptionClass alias]:[Option name]
将起作用,但是
--[Option name]
不会解析为
Option
。
FIXME:更新文档方法以区分不在全局 FIXME:命名空间中的类/字段
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-01。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]