Package fi.tut.mei.matchmaking.process
Class CapabilityRequirementsFinder
- java.lang.Object
-
- fi.tut.mei.matchmaking.process.CapabilityRequirementsFinder
-
public class CapabilityRequirementsFinder extends Object
Class used to find all combined capabilities that can be used to implement the given prd requirements.- Author:
- hylli
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<fi.tut.mei.capabilityQueryLib.model.Capability>
findRequiredCapabilities()
Get all combined capabilities that can implement at least one of the process capability requirements in the given prds.
-
-
-
Constructor Detail
-
CapabilityRequirementsFinder
public CapabilityRequirementsFinder(Map<String,org.apache.jena.rdf.model.Model> prds, fi.tut.mei.capabilityQueryLib.Client client, Map<String,Set<String>> stepUris)
Create a finder that uses the given information.- Parameters:
prds
- prds whose requirements we want capabilities for. Key is prd id.client
- client used to work with the ontologiesstepUris
- URIs of steps we want capabilities for. Key is prd id. If null all steps are processed.
-
-
Method Detail
-
findRequiredCapabilities
public List<fi.tut.mei.capabilityQueryLib.model.Capability> findRequiredCapabilities()
Get all combined capabilities that can implement at least one of the process capability requirements in the given prds.- Returns:
- List of capabilities.
-
-