Class 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
    • 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 ontologies
        stepUris - 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.