public interface Constraint<T>
| Modifier and Type | Method and Description |
|---|---|
void |
check(T context)
Check if the specified requirement is met in a given context.
|
void check(T context) throws UnsatisfiedRequirementException
context - the target context.UnsatisfiedRequirementException - when the requirement is not satisfied.Copyright © 2018 JBoss by Red Hat. All rights reserved.