我怎样才能有一个带有 List<> 参数的 spring shell 方法?
是否可以在 Spring_Shell 中使用 List<> 作为方法参数?
如下:
public void test(
@CliOption(key = "name", help ="") final String name,
@CliOption(key = "activities",help ="") final List<String> activitiy){//....... something to do}