[forge-issues] [JBoss JIRA] (FORGE-2474) Being able to add a constraint not just on properties
Antonio Goncalves (JIRA)
issues at jboss.org
Mon Sep 7 07:59:00 EDT 2015
Antonio Goncalves created FORGE-2474:
----------------------------------------
Summary: Being able to add a constraint not just on properties
Key: FORGE-2474
URL: https://issues.jboss.org/browse/FORGE-2474
Project: Forge
Issue Type: Sub-task
Components: Java EE
Affects Versions: 2.19.0.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
At the moment we can add a constraint on a property with the command :
{code}
constraint-add --constraint NotNull --onProperty
{code}
But we can also add a constraint on a bean itself, or even on a constraint annotation. So we would need several options such as
{code}
constraint-add --constraint NotNull --onProperty name
constraint-add --constraint NotNull --onBean MyBean
constraint-add --constraint NotNull --onConstraint MyCustomConstraint
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the forge-issues
mailing list