Class 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 Detail

      • MatchMakerMockup

        public MatchMakerMockup()
    • Method Detail

      • makeMatch

        public fi.tut.mei.matchmaking.model.xml.msg.MatchmakingResult makeMatch​(String config,
                                                                                fi.tut.mei.matchmaking.model.xml.msg.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 interface IMatchMaker
        Parameters:
        config - Match making configuration
        mmReq - 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 .