com.webify.wsf.engine.policy
Interface AssertionComparator
public interface AssertionComparator
- Version:
- $Revision: $
- Author:
- msanchez
WORST_SCORE
static final float WORST_SCORE
- See Also:
- Constant Field Values
BEST_SCORE
static final float BEST_SCORE
- See Also:
- Constant Field Values
compare
float compare(Assertion goal,
Assertion source)
- Compare the goal assertion to the source assertion. Return
a score betweeen 0 and 1 where 1 indicates a perfect match and 0
indicates that worst possible match.
- Parameters:
goal
- the assertion representing the desired capabilitysource
- the assertion representing the declared capability
- Returns:
- a number between 0 and 1
Copyright © 2002-2009 IBM. All Rights Reserved.