public interface Descriptor<T>
Modifier and Type | Method and Description |
---|---|
Status |
isApplicable(PolicyAgentInterface agent,
T instance)
Returns true if descriptor matches the instance in the context of
the agent.
|
Status isApplicable(PolicyAgentInterface agent, T instance)
agent
- the agent that forms the context of evaluation.instance
- the object to match against.