com.webify.wsf.engine.policy
Interface AssertionPropertyComparator
public interface AssertionPropertyComparator
- Version:
- $Revision: $
- Author:
- msanchez
Method Summary |
float |
compare(java.lang.Object goalValue,
java.lang.Object sourceValue)
Compare the goal property value to the source property value. |
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(java.lang.Object goalValue,
java.lang.Object sourceValue)
- Compare the goal property value to the source property value.
Return a score betweeen 0 and 1 where 1 indicates a perfect match and 0
indicates that worst possible match.
- Parameters:
goalValue
- the property value representing the desired capabilitysourceValue
- the property value representing the declared capability
- Returns:
- a number between 0 and 1
Copyright © 2002-2009 IBM. All Rights Reserved.