- 
                Notifications
    You must be signed in to change notification settings 
- Fork 6
Open
Description
This would be useful when the doc and possible values for an argument are not static, but derived programmatically from code. For example, an argument where the values are drawn from the cross product of two existing enums, or some subset thereof:
enum A { A1, A2 }
enum B { B1, B2, B3 }
@Argument
public List<String> crossProductArgs;
where the values of crossProductArgs are drawn from the set { "A1-B1", "A1-B2", "A2-B1", "A2-B2", "B1-A1", ... }, with hyphen as a separator.
This link is to a private repository, but for those who can navigate to it, a real life (and slightly more complicated) version of this came up in https://github.com/broadinstitute/picard-private/pull/1218.
Metadata
Metadata
Assignees
Labels
No labels