public class Constraint
extends java.lang.Object
Constructor and Description |
---|
Constraint(java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> configuration)
Creates a new
Constraint with the given name and
configuration . |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getConfiguration()
Returns the configuration of the constraint.
|
java.lang.String |
getName()
Returns the name of the constraint.
|