Package fi.tut.mei.matchmaking.process
Class MatchMakerMockup
- java.lang.Object
-
- fi.tut.mei.matchmaking.process.MatchMakerMockup
-
- All Implemented Interfaces:
IMatchMaker
public class MatchMakerMockup extends Object implements IMatchMaker
This class implements a Matchmaker mockup, which will provide always the same valid sample MatchmakingResult- Author:
- Niko Siltala
-
-
Constructor Summary
Constructors Constructor Description MatchMakerMockup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchmakingResult
makeMatch(String config, MatchmakingReq mmReq, Map<String,InputStream> prds, Map<String,InputStream> resources)
performs the match making process based on given parameters.
-
-
-
Method Detail
-
makeMatch
public MatchmakingResult makeMatch(String config, MatchmakingReq mmReq, Map<String,InputStream> prds, Map<String,InputStream> resources)
Description copied from interface:IMatchMaker
performs the match making process based on given parameters.- Specified by:
makeMatch
in interfaceIMatchMaker
- Parameters:
config
- Match making configurationmmReq
- the match making request that defines which process steps are matched for and other options for the process.prds
- The product requirement ontologies for which the process is performed. Key is the prdid and input should contain a valid process requirements ontology.resources
- Resources available for the match making process. Contains resource instance ontologies for each involved resource catalogue. Key is catalogue id and value a resource instances ontology in the xml/rdf format .
-
-