[jira] [Updated] (ISIS-2744) Add new "optionalX" supporting method for parameters so that its optionality can be toggled
[ https://issues.apache.org/jira/browse/ISIS-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-2744: - Issue Type: Wish (was: New Feature) > Add new "optionalX" supporting method for parameters so that its optionality > can be toggled > --- > > Key: ISIS-2744 > URL: https://issues.apache.org/jira/browse/ISIS-2744 > Project: Isis > Issue Type: Wish > Components: Isis Applib (programming model) >Affects Versions: 2.0.0-M5 >Reporter: Daniel Keir Haywood >Priority: Minor > > We can of course validate using validateNXxx(), but the idea here is to > toggle off or on the optionality constraint for N>0 parameters based on > earlier parameters, > eg: > {code:java} > public void act(SomeType type, String someParam) { > } > public boolean optional1Act(SomeType type) { > if (type == SomeType.FOO || type == SomeType.BAR) return true; > return false; > } {code} -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Updated] (ISIS-2744) Add new "optionalX" supporting method for parameters so that its optionality can be toggled
[ https://issues.apache.org/jira/browse/ISIS-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-2744: - Component/s: Isis Applib (programming model) (was: Isis Core) > Add new "optionalX" supporting method for parameters so that its optionality > can be toggled > --- > > Key: ISIS-2744 > URL: https://issues.apache.org/jira/browse/ISIS-2744 > Project: Isis > Issue Type: New Feature > Components: Isis Applib (programming model) >Affects Versions: 2.0.0-M5 >Reporter: Daniel Keir Haywood >Priority: Minor > > We can of course validate using validateNXxx(), but the idea here is to > toggle off or on the optionality constraint for N>0 parameters based on > earlier parameters, > eg: > {code:java} > public void act(SomeType type, String someParam) { > } > public boolean optional1Act(SomeType type) { > if (type == SomeType.FOO || type == SomeType.BAR) return true; > return false; > } {code} -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Updated] (ISIS-2744) Add new "optionalX" supporting method for parameters so that its optionality can be toggled
[ https://issues.apache.org/jira/browse/ISIS-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Keir Haywood updated ISIS-2744: -- Component/s: Isis Core Fix Version/s: (was: 2.0.0) > Add new "optionalX" supporting method for parameters so that its optionality > can be toggled > --- > > Key: ISIS-2744 > URL: https://issues.apache.org/jira/browse/ISIS-2744 > Project: Isis > Issue Type: New Feature > Components: Isis Core >Affects Versions: 2.0.0-M5 >Reporter: Daniel Keir Haywood >Priority: Minor > > We can of course validate using validateNXxx(), but the idea here is to > toggle off or on the optionality constraint for N>0 parameters based on > earlier parameters, > eg: > {code:java} > public void act(SomeType type, String someParam) { > } > public boolean optional1Act(SomeType type) { > if (type == SomeType.FOO || type == SomeType.BAR) return true; > return false; > } {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (ISIS-2744) Add new "optionalX" supporting method for parameters so that its optionality can be toggled
[ https://issues.apache.org/jira/browse/ISIS-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Keir Haywood updated ISIS-2744: -- Summary: Add new "optionalX" supporting method for parameters so that its optionality can be toggled (was: Add new supporting method for parameters so that it can optionally be marked as mandatory.) > Add new "optionalX" supporting method for parameters so that its optionality > can be toggled > --- > > Key: ISIS-2744 > URL: https://issues.apache.org/jira/browse/ISIS-2744 > Project: Isis > Issue Type: New Feature >Affects Versions: 2.0.0-M5 >Reporter: Daniel Keir Haywood >Priority: Minor > Fix For: 2.0.0 > > > We can of course validate using validateNXxx(), but the idea here is to > toggle off or on the optionality constraint for N>0 parameters based on > earlier parameters, > eg: > {code:java} > public void act(SomeType type, String someParam) { > } > public boolean optional1Act(SomeType type) { > if (type == SomeType.FOO || type == SomeType.BAR) return true; > return false; > } {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)