public interface MatcherFacingNeedCommunicationService
| Modifier and Type | Method and Description |
|---|---|
void |
hint(java.net.URI needURI,
java.net.URI otherNeed,
double score,
java.net.URI originator,
org.apache.jena.rdf.model.Model content,
WonMessage wonMessage)
Notifies the need of a matching otherNeed with the specified match score.
|
void hint(java.net.URI needURI,
java.net.URI otherNeed,
double score,
java.net.URI originator,
org.apache.jena.rdf.model.Model content,
WonMessage wonMessage)
throws java.lang.Exception
needURI - the URI of the needotherNeed - URI of the other need (may be on the local needserver)score - match score between 0.0 (bad) and 1.0 (good). Implementations treat lower values as 0.0 and higher values as 1.0.originator - an URI identifying the calling entitycontent - (optional) an optional RDF graph containing more detailed information about the hint. The null releative URI ('<>') inside that graph,
as well as the base URI of the graph will be attached to the resource identifying the match event.NoSuchNeedException - if needURI is not a known need URIIllegalMessageForNeedStateException - if the need is not activejava.lang.ExceptionCopyright © 2018. All Rights Reserved.