Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要一种方法来visibleWhen根据是否通过命令行设置 -Dxyz 来显示或隐藏菜单项(使用)。
visibleWhen
我已经用谷歌搜索了,但似乎找不到有关此问题的任何相关信息。
谢谢
systemTest测试来自的值的值System.getProperty
systemTest
System.getProperty
<systemTest property="xyz" value="xxx"/>